SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001190s ]
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` = '20794' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000523s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20794 [ RunTime:0.003024s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27075,11257,2848,19902,17328,10471,2691,1400,2251,12936,25913,4752,23692,3175,28219,25153,12987,11041,28779,10795,8759,16176,19940,5382) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000533s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018561s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20794 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000471s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20794 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000814s ]