SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001380s ]
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` = '5101' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000418s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 5101 [ RunTime:0.004457s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30395,9680,6344,14461,391,12821,2774,4265,14447,26621,14931,17716,22426,4701,15146,24832,4905,29845,18568,22996,16571,12504,19282,14590) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000581s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.025657s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 5101 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000675s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 5101 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000399s ]