SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001600s ]
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` = '20595' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000384s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20595 [ RunTime:0.004790s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (6702,8620,15555,14711,13579,9424,30136,23573,4675,20433,20171,22610,15085,7337,11406,3317,26473,25788,22321,28324,14325,10534,10593,16901) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000568s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 514 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018622s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20595 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000601s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20595 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001110s ]