SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001097s ]
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` = '3171' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000347s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 3171 [ RunTime:0.002620s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20277,19770,1942,2756,27685,10510,19399,4200,14859,30980,31662,3279,2301,30086,12892,10264,3241,16240,23210,23846,2439,7510,27851,28865) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000637s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014670s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 3171 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000482s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 3171 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000609s ]