SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002170s ]
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` = '30246' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000329s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30246 [ RunTime:0.002178s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (8556,3933,582,22971,286,1463,11672,9038,21061,9705,5227,3175,18434,12998,5771,6263,28638,4121,30155,13724,16875,26671,11567,17938) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 494 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012493s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30246 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000356s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30246 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000463s ]