SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001099s ]
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` = '20658' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000320s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20658 [ RunTime:0.003843s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14776,7216,851,1370,1790,20521,76,16886,7791,5390,11899,19635,1567,27168,2672,31077,13735,16203,7946,20767,4061,20115,16250,23649) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000497s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 491 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012962s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20658 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000460s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20658 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000436s ]