SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001250s ]
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` = '20851' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000420s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20851 [ RunTime:0.001865s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (16581,18881,372,27691,4144,27131,2106,11181,10375,23161,12085,7592,10224,20768,21533,22566,7188,12099,13259,12908,7632,11403,9052,11429) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000518s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012511s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20851 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000566s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20851 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000421s ]