I have a table with many column such like Name, Country, Gender, ID etc. Is there an easier way to do select every column of this table within a query except the Gender column?
Asked
Active
Viewed 56 times
-2
-
Easier as opposed to what? Are you using SQL or the GUI? – SunKnight0 Sep 12 '18 at 18:19
-
I use both. Easier as opposed to select every single column one by one (I have a loooot of them). – Ice s. Woo Sep 12 '18 at 18:22
1 Answers
1
You can use Shift+Click to select all fields in the GUI, then either Ctrl+Click to deselect the ones you don't want before dragging them down or delete the columns once you drag them down.
For aliases just add the alias with a colon before the column name like this:
Sex: Gender

SunKnight0
- 3,331
- 1
- 10
- 8