Difference between revisions of "Portable SQL/Common/Aliases"
From Linuxnetworks
(Alias and quotes) |
(relocated quotes/numeric section) |
||
| Line 7: | Line 7: | ||
SELECT * FROM table t WHERE t.id = 0 | SELECT * FROM table t WHERE t.id = 0 | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
---- | ---- | ||
Back to [[OpenDBX|Overview]] | Back to [[OpenDBX|Overview]] | ||
Revision as of 21:37, 3 September 2006
Contents
Alias for tables and columns
Don't use the keyword "AS" between name and alias as no DBMS requires it and some don't recognize it. Instead, always write
SELECT * FROM table t WHERE t.id = 0
Back to Overview