Sql syntax

This article is tagged with: Sql syntax and mysql

sql syntax

select [all/distinct] <col1>, <col2>, <col3>
from <table_name>
[join <join_condition>]
[where <condition>]
[group by <column_name>]
[having <search_condition>]
[order by <sort_specification>]
/*
Specifically for SQL -> Oracle
LEGEND:
[...] : optional entries
<...> : your specific entry
*/</sort_specification></search_condition></column_name></condition></join_condition></table_name></col3></col2></col1>

This article is tagged with: Sql syntax and mysql