SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001243s ]
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` = '24794' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000398s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24794 [ RunTime:0.002263s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (21998,6236,10858,31225,9217,3081,28713,11751,15091,16744,8360,1506,2046,29786,8767,26270,9420,12333,13975,2026,2803,23264,31666,16984) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000529s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.028478s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24794 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000491s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24794 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000777s ]