how to display a table in mysql code example
Example 1: print all records of table in mysql
SELECT * FROM TABLE_NAME;
OR
SELECT column_name_1, column_name_2 FROM TABLE_NAME;
Example 2: mysql command show tables
SHOW TABLES;
Example 3: mysql command show tables
mysql -u user -p