SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001354s ]
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` = '21046' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000377s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 21046 [ RunTime:0.001891s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (4929,30397,25766,2681,6482,11011,15950,8293,21956,2426,16793,20164,22029,27105,6190,27308,18402,18347,3457,3409,840,29197,14324,5447) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000629s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012957s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 21046 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000666s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 21046 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000607s ]