Select data from “show tables” MySQL query

后端 未结 13 1780
难免孤独
难免孤独 2020-12-01 04:15

Is it possible to select from show tables in MySQL?

SELECT * FROM (SHOW TABLES) AS `my_tables`

Something along these lines, th

13条回答
  •  不知归路
    2020-12-01 04:50

    I think what you want is MySQL's information_schema view(s): http://dev.mysql.com/doc/refman/5.0/en/tables-table.html

提交回复
热议问题