A blog about software by Alexander Yaäkov Garber.

Tables and Columns

I always have to look up this SQL query. It’s one of the most useful in my experience:

SELECT *
  FROM information_schema.columns
 WHERE table_schema = 'your_schema'
   AND table_name   = 'your_table'
     ;