SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001159s ]
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` = '20887' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000322s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20887 [ RunTime:0.003065s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7545,31598,18683,9238,31014,21063,29097,30693,7768,21388,27519,21255,22166,23537,26260,6630,23352,31035,583,25941,4952,23363,20830,18943) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000535s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 517 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012948s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20887 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000487s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20887 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000432s ]