SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001084s ]
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` = '12787' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000386s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12787 [ RunTime:0.005613s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7792,5839,13690,20575,13680,31501,30892,9971,4194,9702,13899,15108,5143,15096,24653,15516,2151,12140,28931,31981,4672,21181,7150,11027) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000909s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018333s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12787 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000476s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12787 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000526s ]