SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001131s ]
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` = '20284' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000350s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20284 [ RunTime:0.003289s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31416,3687,12441,27185,26936,25222,17892,31897,18131,26754,31002,20237,9984,7346,19049,15748,27097,14650,28310,13726,6166,6807,11511,10876) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000545s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 536 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012447s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20284 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000497s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20284 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000471s ]