SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001122s ]
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` = '5100' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000325s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 5100 [ RunTime:0.002147s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (17178,23047,19915,15366,12318,29277,1438,12568,14621,12333,18508,26071,9399,1522,16140,5796,19830,7172,19249,6038,19771,31573,30770,3273) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000464s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 510 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012502s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 5100 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000466s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 5100 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000543s ]