Simple question: How can I return the field type of a MySQL table. I know about describe or show column but I just want to return that single parameter. e.g.:
describe
show column
SELECT fieldtype(mycol) FROM mytable # should return INT or integer for example