SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001183s ]
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` = '20394' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000423s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20394 [ RunTime:0.001855s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (1295,16012,23579,25410,5195,15480,15177,27674,4589,27028,23771,2264,29050,14988,13616,5556,24317,20759,10012,24628,2105,19500,18180,20735) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000499s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 532 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012572s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20394 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000542s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20394 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000504s ]