SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001136s ]
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` = '31165' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000384s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31165 [ RunTime:0.002601s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (26616,14514,22651,25216,29903,3314,6502,5592,16871,29876,4093,27249,18705,2139,8334,9541,32159,9343,10122,6350,5020,4899,13423,7301) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000570s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 498 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014147s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31165 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000485s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31165 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000582s ]