mysql show table contents code example
Example 1: mysql show data from table
mysql> SELECT * FROM [table name];
Example 2: mysql show table structure
DESCRIBE table_name; # To show table structure...
Example 3: print all records of table in mysql
SELECT * FROM TABLE_NAME;
OR
SELECT column_name_1, column_name_2 FROM TABLE_NAME;
Example 4: mysql show table fields
DESCRIBE my_table;
Example 5: show table mysql
# First, select your database
USE yourDb;
# Then, simply
SHOW TABLES;
Example 6: mysql show tables in database
show tables;