Dùng SHOW TABLES FROM Database_name để xem bảng của database khác mà không cần chuyển kết nối.
Ví dụ
Xem bảng trong database tutorial:
mysql> show tables from tutorial; +--------------------+ | Tables_in_tutorial | +--------------------+ | employee | | showzerofill | | student | +--------------------+ 3 rows in set (0.00 sec)
Lưu ý: Cũng có thể dùng SHOW TABLES IN database_name (tương đương). Cú pháp này hữu ích khi quản lý nhiều database trên cùng server.