SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003333s ]
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` = '21245' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000490s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 21245 [ RunTime:0.002454s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (11995,24744,14798,2393,7503,26578,8009,16402,2239,20093,2035,13170,29546,10314,27311,20343,27885,21508,27044,28958,3178,26964,23846,7889) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001158s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 521 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012756s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 21245 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000474s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 21245 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.002016s ]