Select*fromEmployee;+------+--------+|Id |Name |+------+- -------+|100 |Ram ||200 |Gaurav||300 |Mohan&nb"/> Select*fromEmployee;+------+--------+|Id |Name |+------+- -------+|100 |Ram ||200 |Gaurav||300 |Mohan&nb">
Home >Database >Mysql Tutorial >How can we get all records from a specific MySQL table?
We can use SELECT * from table_name;query to get all records from the MySQL table. The example is as follows, get all records from "Employee" table -
mysql> Select * from Employee; +------+--------+ | Id | Name | +------+--------+ | 100 | Ram | | 200 | Gaurav | | 300 | Mohan | +------+--------+ 3 rows in set (0.00 sec)
The above is the detailed content of How can we get all records from a specific MySQL table?. For more information, please follow other related articles on the PHP Chinese website!