SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002338s ]
SELECT `a`.`hp`,`a`.`sl`,`a`.`xl`,`a`.`yy`,b.name as Cname,b.id as Cid FROM `tool_couplet` `a` INNER JOIN `tool_category` `b` ON `a`.`category_id`=`b`.`id` WHERE `a`.`id` = '20158' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000485s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20158 [ RunTime:0.002010s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27054,22566,22729,12002,1618,7501,5546,14250,21003,12787,19209,30003,24112,10626,17813,16392,10543,1859,31408,20790,28909,8240,27845,12581) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000558s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 517 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012615s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20158 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000505s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20158 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000450s ]