how to view query of table in mysql command line code example Example: mysql show tables in database show tables;