SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001123s ]
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` = '12231' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000323s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12231 [ RunTime:0.002249s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (29908,8537,27784,13044,24191,6910,4286,15816,3010,25170,25865,24331,26748,8381,24350,11732,21407,31688,23435,23551,25084,25617,4162,19398) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000528s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.015675s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12231 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000360s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12231 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000405s ]