SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001136s ]
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` = '12517' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000336s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12517 [ RunTime:0.001640s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (15469,22093,15858,31077,4060,19123,30780,11122,24497,8508,20813,6198,23695,24418,29948,26579,15800,19117,10582,26137,25140,2838,16267,25132) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000437s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 519 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012817s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12517 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000463s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12517 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001288s ]