SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003367s ]
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` = '20288' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001880s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20288 [ RunTime:0.001801s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30471,2680,14479,11336,24152,25895,8030,7552,8596,23306,22959,10491,11943,16523,16472,12584,26870,7010,27568,14025,22653,20072,6273,31804) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000666s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013533s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20288 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002285s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20288 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000320s ]