SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001726s ]
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` = '20509' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000581s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20509 [ RunTime:0.003929s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (79,31252,5212,6510,11903,6988,26161,27099,2380,22877,4986,9341,2819,13965,17957,6428,27229,17170,10397,2957,11631,2370,5283,23360) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000596s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 540 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.022157s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20509 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000560s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20509 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001255s ]