SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001146s ]
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` = '21766' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000322s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 21766 [ RunTime:0.001696s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30171,19840,361,13743,20135,32250,12732,14820,19969,21828,30327,31333,30822,5143,17474,10654,3250,30813,9943,13736,2294,18918,203,338) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000555s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012347s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 21766 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 21766 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000520s ]