SHOW FULL COLUMNS FROM `tool_site` [ RunTime:0.007175s ]
SELECT id,url,name,image,keywords,description,status,views,updatetime,createtime,(select name FROM tool_category where tool_category.id=tool_site.category_id)as Cname FROM `tool_site` WHERE ( `name` LIKE '%test%' OR `title` LIKE '%test%' OR `keywords` LIKE '%test%' OR `url` LIKE '%test%' ) AND `switch` = 1 [ RunTime:0.010283s ]