SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001157s ]
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` = '20998' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000324s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20998 [ RunTime:0.003069s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2617,18691,23036,19301,27614,19090,22576,13888,30289,20461,14141,7386,7075,3609,10161,15637,10810,31578,27197,16135,1222,3145,22447,26975) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000577s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 519 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012740s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20998 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000495s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20998 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000364s ]