SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001158s ]
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` = '30152' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000417s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30152 [ RunTime:0.003763s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (13976,11495,22562,8906,29367,26741,28475,14473,11195,22905,26738,4319,8324,11807,9463,13218,25240,23279,13674,28660,23773,4525,1948,2338) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001356s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012876s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30152 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000470s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30152 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000467s ]