SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001833s ]
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` = '20545' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000424s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20545 [ RunTime:0.002751s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7436,28307,24109,12790,5675,8848,18787,17777,3846,20996,6550,21798,17105,26063,20258,22941,6187,21170,21411,7240,30099,14238,18142,28523) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001177s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 495 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013516s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20545 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000508s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20545 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000545s ]