SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001553s ]
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` = '20248' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001089s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20248 [ RunTime:0.003411s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28872,11819,23712,10691,12649,23893,11606,1421,15280,28098,23567,9121,7816,1526,7605,5626,4908,20991,8228,19867,4753,3351,9021,6909) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000467s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014036s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20248 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000461s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20248 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000386s ]