SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001125s ]
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` = '20227' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000339s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20227 [ RunTime:0.001817s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31170,20257,25487,2212,8647,28510,10109,17265,16813,29307,11840,8434,20167,12191,4410,18432,22899,29367,21995,6401,29883,32117,23497,23493) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000662s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012439s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20227 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000591s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20227 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000523s ]