SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001133s ]
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` = '12246' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000315s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12246 [ RunTime:0.001960s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (9072,791,3066,19610,12911,11183,28763,787,3856,3218,12167,6699,10648,17254,8488,31278,126,25082,15759,27481,19605,1074,727,28220) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000492s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012436s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12246 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000452s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12246 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000588s ]