How can I get a table name by his position(row)? I got many tables.
For example in columns to find from a table it works this way:
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'database name here'
AND TABLE_NAME = 'table name here'
AND ORDINAL_POSITION = 2;
I need something like this only to find table name by their position(row) in the database.
Using MySQL. Thanks.