How to select the MySQL's engine name of some table. MyISAM or InnoDB. Can we do it by a simple sql query?
Try
SHOW TABLE STATUS FROM db_name
You can also use the INFOMATION_SCHEMA database:
SELECT ENGINE FROM TABLES WHERE TABLE_NAME LIKE 'words';