SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001100s ]
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` = '9834' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000410s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 9834 [ RunTime:0.002059s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24056,14502,6756,3288,27587,18428,17252,12482,26449,21078,6818,21725,10038,21204,9262,16754,3618,22093,26961,29316,29211,1681,12122,20760) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000533s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 530 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014516s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 9834 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000589s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 9834 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000452s ]