mysql show columns where name like code example Example: get the mysql table columns data type mysql SHOW COLUMNS FROM mydb.mytable;