SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001129s ]
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` = '20365' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000346s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20365 [ RunTime:0.001535s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28266,14947,25574,17660,29852,16773,1315,126,4653,24508,8188,26331,17249,6579,26639,27356,15846,6306,17794,23602,11034,31180,6109,20323) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000436s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 520 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.011979s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20365 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000438s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20365 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000384s ]