For the various popular database systems, how do you list all the columns in a table?
For MySQL, use:
DESCRIBE name_of_table;
This also works for Oracle as long as you are using SQL*Plus, or Oracle's SQL Developer.
2.1m questions
2.1m answers
60 comments
57.0k users