SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001107s ]
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` = '30045' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000318s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30045 [ RunTime:0.005768s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (1573,14953,31631,15774,15751,8633,6789,7425,30586,7867,1225,18933,4545,6220,28059,9734,17636,12145,2944,10212,17894,2680,5921,27424) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000796s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018307s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30045 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000422s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30045 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001185s ]