Lệnh SHOW TABLES liệt kê các bảng trong database, nhưng bảng tạm (temporary tables) không hiển thị trong danh sách này. Minh họa:
Ví dụ
Thử tìm bảng tạm SalesSummary:
mysql> SHOW TABLES LIKE '%Sales%';
Empty set (0.00 sec)
mysql> SHOW TABLES LIKE '%SalesSummary%';
Empty set (0.00 sec)
Kết quả rỗng cho thấy bảng tạm SalesSummary không nằm trong danh sách bảng của database.