mysql query if table exists code example Example: mysql check table exists SELECT * FROM information_schema WHERE TABLE_NAME = "my_table"