SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001114s ]
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` = '20542' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000338s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20542 [ RunTime:0.002380s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (1556,30023,17096,1234,6018,7869,4392,3817,4882,7032,3648,27171,28656,13510,20011,24789,25832,31212,28270,17504,14150,13983,30848,21947) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000488s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 527 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.011939s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20542 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000503s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20542 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000498s ]