Hide Empty columns

前端 未结 4 647
野性不改
野性不改 2021-01-14 14:07

I got a table with 75 columns,. what is the sql statement to display only the columns with values in in ?

thanks

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-14 14:20

    I would suggest that you write a SELECT statement and define which COLUMNS you wish to display and then save that QUERY as a VIEW.

    This will save you the trouble of typing in the column names every time you wish to run that query.

    As marc_s pointed out in the comments, there is no select statement to hide columns of data.

提交回复
热议问题