SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003873s ]
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` = '20788' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002386s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20788 [ RunTime:0.002564s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (32087,7058,15495,8633,17980,29287,17942,5720,1549,5428,2770,25087,12713,20987,21537,30787,12242,23497,21217,26058,20130,28131,23271,14403) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000550s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012201s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20788 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000495s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20788 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000402s ]