📜  表 sql 查询中的不同数据类型 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:20.131000             🧑  作者: Mango

代码示例1
select table_name, count(*)
from 
    (select distinct data_type as data_type, table_name 
     FROM information_schema.columns
    WHERE table_name like '') t
group by table_name