SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001128s ]
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` = '20578' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000325s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20578 [ RunTime:0.002054s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24780,29007,31280,12190,11493,1769,16227,31670,25161,18940,158,26128,12513,27664,24262,2910,18946,32155,31273,15503,7842,1893,7134,1456) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000629s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013795s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20578 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000510s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20578 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000596s ]