SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001249s ]
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` = '20645' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002355s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20645 [ RunTime:0.002526s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (18995,14439,13060,26068,25518,19014,30091,12131,4019,27282,2598,1166,25545,17227,26130,10311,26222,5538,11262,2948,14435,10566,28652,9885) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000694s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 531 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012999s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20645 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000633s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20645 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000614s ]