Default MySQL database คือฐานข้อมูลที่ใช้งานอยู่สำหรับคำสั่งต่อไป ใช้คำสั่ง SHOW TABLES เพื่อดูรายการตารางในฐานข้อมูลนั้น
mysql> SHOW TABLES; +------------------+ | Tables_in_sample | +------------------+ | employee | | new_student | | student | +------------------+ 3 rows in set (0.00 sec)
คำสั่งนี้แสดงรายการตารางในฐานข้อมูล Sample