This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:sql:select [2009/11/30 06:33] tdo |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
| - | ====== Omnidex SQL: SELECT ====== | ||
| - | |||
| - | |||
| - | ===== Description ===== | ||
| - | = | ||
| - | ===== Syntax ===== | ||
| - | |||
| - | SELECT expression_list | ||
| - | FROM data_source | ||
| - | [ WHERE predicates ] | ||
| - | [ GROUP BY expression_list ] | ||
| - | [ HAVING predicates ] | ||
| - | [ ORDER BY expression_list ] | ||
| - | [ WITH options ] | ||
| - | |||
| - | |||
| - | Statement | ||
| - | |||
| - | ===== Discussion ===== | ||
| - | |||
| - | == FROM data_source == | ||
| - | == WHERE Clause == | ||
| - | == GROUP BY Clause == | ||
| - | == HAVING Clause == | ||
| - | == ORDER BY Clause == | ||
| - | == WITH options == | ||
| - | |||
| - | ===== Examples ===== | ||
| - | |||
| - | ==== Simple ==== | ||
| - | |||
| - | > select * from mytable | ||
| - | |||
| - | ==== select columns ==== | ||
| - | |||
| - | > select company, contact from mytable | ||
| - | {{page>:bottom_add&nofooter&noeditbtn}} | ||