when I am trying to execute
SELECT * FROM information_schema.temporary_tables
in MYSQL,i am getting error: Unknown table temporary_tables
in information_schema.
Please Help me out in this.
when I am trying to execute
SELECT * FROM information_schema.temporary_tables
in MYSQL,i am getting error: Unknown table temporary_tables
in information_schema.
Please Help me out in this.
temporary_tables might not be present in information_schema database. check your database
There is no table name 'temporary_tables' in information_schema database.
For getting the list of tables from INFORMATION_SCHEMA
database, you can use
SHOW TABLES FROM INFORMATION_SCHEMA;
What we are trying to achieve is:
NOTE: In short, we are creating a table in the destination DB using the select statement from the source DB. Means structure of the table in Dest DB depends on the select query in Source DB.