Can a database have 0 tables?
Answer
If that number is
0, then there are no tables. “select * from information_schema. tables” will give you a list of tables on most databases. … If the database has tables, the select statement will set the contents column as “has tables”.