SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001266s ]
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` = '20510' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000564s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20510 [ RunTime:0.002213s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (15278,7976,6122,19653,23509,23945,13643,14732,26428,31939,7184,9661,9612,9737,10878,13539,14422,12379,28780,27435,23084,13437,19179,16955) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000528s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013027s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20510 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000463s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20510 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000496s ]