Skip to content

List all columns from all tables in a MySQL Database

SELECT table_schema, table_name, column_name, column_type FROM information_schema is
WHERE table_schema = 'your_table_schema'
ORDER BY table_name, ordinal_position;
See also  TypeScript code snippet - How many terrorists do not conform to the gender binary?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.