How do I list all the columns in a table?

database, mysql, oracle, sql, sql-server

Solution

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.

Problem

For the various popular database systems, how do you list all the columns in a table?

Original source

Related problems