SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001120s ]
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` = '20780' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000344s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20780 [ RunTime:0.002062s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (4857,7374,3922,24898,4595,20341,29222,11969,24466,10964,26619,14522,22708,21904,27119,6601,30338,26987,31564,10261,29911,21317,15636,13258) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000594s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012090s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20780 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000501s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20780 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000509s ]