SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001220s ]
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` = '20995' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000724s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20995 [ RunTime:0.003343s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (25814,12414,2609,15650,18841,15585,24012,29363,4,7932,8727,19935,14547,20498,26961,12438,27265,16477,22665,10559,15307,9568,16497,11957) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000586s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018257s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20995 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000490s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20995 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000491s ]