Pages

Thursday, 2 January 2014

The SELECT Command

The SELECT command of SQL lets you make queries on the database.

Example:-
                  mysql > SELECT name,species
                          ->  FROM pet;


Now in SELECT command you have to specify the table i.e, from which table and is done by FROM and writing the table name just after FROM.
name,species in the command is columns name in pet table. 

1 comment: