SQL WHERE: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 5: Line 5:


=Overview=
=Overview=
The <code>WHERE</code> clause filters out unwanted data.


Filters, conditions, condition evaluation.
Filters, conditions, condition evaluation.


The <code>WHERE</code> clause can be used with <code>[[SQL_SELECT#WHERE|SELECT]]</code>, <code>[[SQL_UPDATE#Overview|UPDATE]]</code> and <code>[[SQL_DELETE#Overview|DELETE]]</code>, but not with <code>[[SQL_INSERT#Overview|INSERT]]</code>.
The <code>WHERE</code> clause can be used with <code>[[SQL_SELECT#WHERE|SELECT]]</code>, <code>[[SQL_UPDATE#Overview|UPDATE]]</code> and <code>[[SQL_DELETE#Overview|DELETE]]</code>, but not with <code>[[SQL_INSERT#Overview|INSERT]]</code>.
=Filters=
=Conditions=

Revision as of 00:35, 23 May 2024

Internal

Overview

The WHERE clause filters out unwanted data.

Filters, conditions, condition evaluation.

The WHERE clause can be used with SELECT, UPDATE and DELETE, but not with INSERT.

Filters

Conditions