In order to retrieve data from MySQL database server you use SELECT statement. Here is the simple form of it:
The SELECT statement has many option clauses which you can use these or not. If you use, the order has to be appear as shown.
To select all columns in a table you can use (*) notation instead of listing all column name. For example, if you need to query all the columns in offices table just execute this query:
View Complete Post