SQL WHERE: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:


=Conditions=
=Conditions=
==<tt>NULL</tt> in Conditions==

Revision as of 21:58, 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