how to view the table data in mysql code example
Example 1: mysql show data from table
mysql> SELECT * FROM [table name];
Example 2: mysql show tables in database
show tables;
mysql> SELECT * FROM [table name];
show tables;