How do I count columns of a table

SELECT count(*)
FROM information_schema.columns
WHERE table_name="tbl_ifo"

Leave a Comment