SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001244s ]
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` = '20166' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000425s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20166 [ RunTime:0.002633s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (29583,29835,22948,24575,13920,20424,21456,19396,7396,10109,792,19714,3064,8618,15393,15063,28410,10237,10642,2589,30534,31861,26263,20404) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000649s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 525 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013954s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20166 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000591s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20166 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000513s ]