SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001139s ]
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` = '20506' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000424s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20506 [ RunTime:0.001938s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23744,17656,11938,19836,5904,20140,30648,9134,20325,15373,25464,16839,15226,20661,8380,6214,13002,28887,28318,1028,22769,15497,25677,28923) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000680s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012763s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20506 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000635s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20506 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000490s ]