SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004107s ]
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` = '20508' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002660s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20508 [ RunTime:0.005447s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (29009,24711,26639,27392,11603,31235,23016,18385,31111,31918,2041,25837,9994,13143,24016,13401,32125,19593,773,17844,30129,7681,14200,4323) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000599s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.060007s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20508 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002481s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20508 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000382s ]