get info on a table sql ubuntu code example Example 1: show tables mysql SHOW TABLES; Example 2: how to check tables in mysql mysql -u user -p