Dùng SHOW FULL TABLES (không có FROM) để xem bảng của database đang sử dụng kèm loại.
Cú pháp
SHOW FULL TABLES
Ví dụ: Database hiện tại là 'query'
mysql> SHOW FULL TABLES; +-----------------------------+------------+ | Tables_in_query | Table_type | +-----------------------------+------------+ | accounts | BASE TABLE | | address | BASE TABLE | | cars | BASE TABLE | | cars_avgprice | VIEW | | countries | BASE TABLE | | customer_view | VIEW | | customers | BASE TABLE | | date_time_test | BASE TABLE | | detail_bday | BASE TABLE | | details_city | BASE TABLE | | ... | ... | | view_student_detail | VIEW | | view_student_detail_columns | VIEW | | websites | BASE TABLE | +-----------------------------+------------+ 87 rows in set
Kết quả hiển thị 87 bảng/view của database 'query' với cột Table_type phân biệt BASE TABLE và VIEW.