SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001307s ]
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` = '20712' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000416s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20712 [ RunTime:0.001817s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12942,26568,10542,29205,18633,5413,22903,20630,28718,28590,28867,27976,24237,17861,15487,12037,1542,16202,2711,4516,4270,17887,8703,19395) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000558s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 539 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012606s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20712 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000478s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20712 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000521s ]