SQL WHERE: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
=Conditions=
=Conditions=
==<tt>NULL</tt> in Conditions==
==<tt>NULL</tt> in Conditions==
Also see: {{Internal|SQL#SQL_NULL|<tt>NULL</tt>}}

Revision as of 22:00, 23 May 2024

Internal

Overview

The WHERE clause is the mechanism for filtering out unwanted data from the result set. The WHERE clause can be used with SELECT, UPDATE and DELETE, but not with INSERT.

SELECT * FROM person WHERE person.name = 'Alice';

Filters, conditions, condition evaluation.

Filters

Conditions

NULL in Conditions

Also see:

NULL