Basic SQL Syntax

Basic SQL Syntax




1.
Select * or Column list
               From Table Name


2. Select * or Column list
               From Table Name where column condition


3. Select Aggregate
               From Table Name
               Group By

4. Select Aggregate
               From Table Name
               Group By having

5.Select Aggregate
               From Table Name where column condition
               Group By having

6. Select Aggregate
               From Table Name where column condition
              Group By having

                Order By