SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001186s ]
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` = '20987' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001154s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20987 [ RunTime:0.001644s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (10496,18014,6644,26012,20464,1875,27677,22869,9273,13336,20106,18747,11561,2350,28149,26089,19706,7194,17463,16961,17345,25464,29336,9258) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000570s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012984s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20987 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000626s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20987 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000359s ]