how to select columns as rows?

后端 未结 5 1387
走了就别回头了
走了就别回头了 2020-12-06 17:53

So, I\'ve been searching around and I\'ve found things similar to my problem, but I need more help to get a real solution.

I\'m trying to construct a query that will

5条回答
  •  遥遥无期
    2020-12-06 18:18

    select column_name,* from information_schema.columns
     where table_name = 'TheTableName'
    order by ordinal_position
    

提交回复
热议问题