Answers for "column names from table in mysql"

SQL
2

get the mysql table columns data type mysql

SHOW COLUMNS FROM mydb.mytable;
Posted by: Guest on April-16-2020
0

mysql to get column name in database

SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE '%column_name_to_search%';
Posted by: Guest on October-30-2020

Code answers related to "column names from table in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language