SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001123s ]
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` = '8788' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000293s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 8788 [ RunTime:0.001957s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31531,31134,22276,19481,19258,2346,9424,8896,3158,18550,15190,11767,19020,17756,13853,31961,4063,3162,31108,23764,1150,21103,18754,20002) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000504s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012319s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 8788 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000500s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 8788 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000549s ]