SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001228s ]
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` = '20424' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000420s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20424 [ RunTime:0.003010s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (9177,26976,8152,24138,12483,21700,13532,15185,19221,8618,29386,19864,9721,22075,20788,5429,16895,27290,8506,13426,3552,2103,22323,19975) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000467s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 532 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012446s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20424 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20424 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000477s ]