I want to select all columns from a table, EXCEPT three, which are called "id", "name", and "active".
I can't simply tell MySQL to select all the other columns, because I do not know beforehand how many columns there will be, or what they will be called.
Is there something like this that I can do?
> SELECT * EXCEPT id, name, active FROM table
I can't simply tell MySQL to select all the other columns, because I do not know beforehand how many columns there will be, or what they will be called.
Is there something like this that I can do?
> SELECT * EXCEPT id, name, active FROM table