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` = '12406' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000327s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12406 [ RunTime:0.001759s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12386,5351,9784,30807,17673,6053,26866,21027,25290,14949,24822,15583,29441,22789,16256,31890,7878,8420,19266,7740,22985,20142,4864,31852) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000470s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 517 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012629s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12406 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000491s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12406 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000414s ]