Tables and Columns
Published on 25 Mar 2020
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'
;