select a.table_name, a.table_type, a.table_comment, b.column_name, b.column_type, b.is_nullable, b.column_default, b.extra, b.column_comment, b.ordinal_positionfrom information_schema.tables a join information_schema.columns b on a.table_name = b.table_namewhere 1=1 and a.TABLE_SCHEMA = '스키마 이름'order by a.TABLE_NAME, b.ordinal_position이걸 예전에 만들어 두었다고 생각했는데, 기억이 안나서 ..