SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001103s ]
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` = '12842' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000342s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12842 [ RunTime:0.003674s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (8744,11662,21261,2056,3353,6766,17381,28374,17330,4791,11257,6501,25591,31551,15033,25842,19321,23920,22464,15068,1048,20348,20269,5558) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000569s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 541 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019907s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12842 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001059s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12842 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000504s ]