SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001273s ]
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` = '20777' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000692s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20777 [ RunTime:0.002184s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7232,8518,2403,13586,11825,17652,18362,19928,7907,27153,15878,23418,10436,26585,12573,23720,31156,20518,31020,25001,1687,26685,14439,23535) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.002348s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 516 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.108451s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20777 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001101s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20777 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000465s ]