Content deleted Content added
m remove Erik9bot category,outdated, tag and general fixes, added orphan tag |
|||
Line 1:
{{Unreferenced|date=December 2009}}
A [[relational database management system]] uses [[SQL]] '''conditions''' or [[Expression (programming)]] in '''<tt>WHERE</tt>''' clauses and in '''<tt>HAVING</tt>''' clauses to '''<tt>[[select (SQL)|SELECT]]</tt>''' subsets of data.▼
{{Orphan|date=December 2009}}
▲A [[relational database management system]] uses [[SQL]] '''conditions''' or [[Expression (programming)]] in '''<tt>WHERE</tt>''' clauses and in '''<tt>HAVING</tt>''' clauses to '''<tt>[[select (SQL)|SELECT]]</tt>''' subsets of data.
== Examples ==▼
To '''<tt>SELECT</tt>''' one row of data from a table ''tab'' with primary key column ''pk'' set to 100 — use the condition ''pk = 100'':
Line 11 ⟶ 13:
SELECT * FROM tab WHERE ''dk = 100'' having count(*) > 1
{{DEFAULTSORT:Condition (Sql)}}
[[Category:SQL]]
|