SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003501s ]
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` = '20317' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002264s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20317 [ RunTime:0.003622s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (9111,18641,13285,21885,20005,10456,4452,15012,30868,14363,21835,20753,24933,12805,20332,15188,2016,4853,30566,13959,28964,8376,16683,28968) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000644s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 527 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012385s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20317 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000335s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20317 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000424s ]