SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001167s ]
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` = '21247' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000330s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 21247 [ RunTime:0.001656s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14650,4993,31464,21799,14653,11062,1709,31115,31109,19026,6633,27473,31005,14641,11836,26718,21809,12478,22301,20971,11135,8592,21672,12247) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000464s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 513 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012832s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 21247 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000473s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 21247 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000478s ]