How can I “select *” from a table in MySQL but omit certain columns?

后端 未结 9 1424
时光取名叫无心
时光取名叫无心 2020-12-03 11:43

I have a table with the following columns:

id,name,age,surname,lastname,catgory,active

Instead of: SELECT name,age,surname,lastname,c

9条回答
  •  我在风中等你
    2020-12-03 11:48

    You are too advanced.

    The only data language that I have seen that supports your syntax is the D language with its "...ALL BUT ..." construct:

    Wikipedia - D Language Specification

    There are some reference implementations available, but mostly for teaching purposes.

提交回复
热议问题