SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001115s ]
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` = '30039' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000314s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30039 [ RunTime:0.001932s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7589,12180,29648,17221,28737,6813,32027,4806,6476,6572,31551,11523,8361,26256,13321,2500,11914,3971,29931,14208,16778,6339,26334,8786) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000628s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 531 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012498s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30039 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000361s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30039 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000759s ]