SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001069s ]
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` = '20951' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000318s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20951 [ RunTime:0.002444s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31252,1351,28666,8972,1815,2478,14129,2004,11359,14524,11806,7261,22761,23081,8363,11280,26076,28952,31335,8709,21470,18836,30620,4605) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000492s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 524 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012209s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20951 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000453s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20951 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000505s ]