SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001193s ]
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` = '20465' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000425s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20465 [ RunTime:0.003440s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (26133,27728,20672,28688,5014,738,14283,4368,8806,6807,4536,16198,8547,9431,5967,22884,31935,29319,24160,10174,6580,19042,18794,28385) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000669s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 530 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.023515s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20465 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000500s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20465 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001553s ]