Select data from “show tables” MySQL query

后端 未结 13 1757
难免孤独
难免孤独 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:58

    I don't understand why you want to use SELECT * FROM as part of the statement.

    12.5.5.30. SHOW TABLES Syntax

提交回复
热议问题