How to get a list of all column names in a table that are not NULL as the default value?
If I do "SHOW COLUMNS FROM table_name", I see that there is a column in the results called "Default". I would like my operator to return ONLY those columns that are not NULL as the default value. I tried using the WHERE clause, but I think it is suffocating because "Default" is a reserved word.
Thanks for any help!
mysql
DivideByHero
source share