SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001159s ]
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` = '9247' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000308s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 9247 [ RunTime:0.002818s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23602,2710,8069,26156,31680,2187,8782,13935,2151,15682,21,840,11950,16738,5010,23980,1797,11383,77,17854,28999,1324,22956,32100) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000580s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013061s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 9247 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000489s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 9247 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000411s ]