select * from information_schema.columns where table_schema = 'имя_базы' order by table_name,ordinal_position;