SQL exclude a column using SELECT * [except columnA] FROM tableA?

后端 未结 30 3056
花落未央
花落未央 2020-11-21 23:15

We all know that to select all columns from a table, we can use

SELECT * FROM tableA

Is there a way to exclude column(s) from a table witho

30条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 00:08

    You could create a view that has the columns you wish to select, then you can just select * from the view...

提交回复
热议问题