SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001240s ]
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` = '20224' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000641s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20224 [ RunTime:0.002337s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7952,23262,30792,26306,15249,10338,6149,28754,5739,24540,4927,11108,17264,12314,1533,24370,31569,18105,10311,2556,11481,24456,26916,15270) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000555s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 520 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012218s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20224 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000475s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20224 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001048s ]