SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001260s ]
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` = '20746' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000418s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20746 [ RunTime:0.002200s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12556,17407,25954,4417,13280,12085,20835,4227,24986,20571,3466,15609,26307,26702,27405,23814,20920,241,12978,28645,6335,2543,25212,1908) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000496s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012977s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20746 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000448s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20746 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000536s ]