SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001194s ]
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` = '20707' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000457s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20707 [ RunTime:0.002858s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (17851,16354,26025,115,25887,14078,3960,4479,28889,24681,21329,415,20241,3560,2654,8842,9352,22213,27430,30404,5394,22034,21590,3864) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000706s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 507 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012297s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20707 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000523s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20707 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000616s ]