SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001480s ]
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` = '20396' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000475s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20396 [ RunTime:0.004427s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27146,11742,24281,20092,7338,6749,29523,26120,6938,4630,6095,23663,20817,24069,14632,27072,18051,21250,28348,8434,23624,6847,16500,7576) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.002714s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 542 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016351s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20396 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000489s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20396 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000526s ]