display tables in database mysql code example Example 1: mysql show all tables show tables; Example 2: show tables mysql SHOW TABLES;