SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004337s ]
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` = '30487' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.003271s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30487 [ RunTime:0.004127s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (5535,23833,8507,7522,32103,4085,15872,27086,23015,10564,19300,17120,894,16265,27626,4475,11834,4950,4244,13303,7266,6980,22356,26201) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.003091s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 543 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012475s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30487 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000471s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30487 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000514s ]