SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001265s ]
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` = '20247' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000419s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20247 [ RunTime:0.001912s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (9121,25722,27150,26779,15752,30816,10271,28270,18033,3734,30518,27053,30505,26750,3258,20182,2961,24831,17852,20165,16510,11457,3548,4321) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000521s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012325s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20247 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000521s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20247 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000556s ]