SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001096s ]
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` = '21157' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000497s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 21157 [ RunTime:0.005873s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24204,26711,28703,9120,30167,1926,11223,13026,3456,7406,28712,11261,7754,905,9207,12737,31188,6196,23747,28942,20996,13154,15070,31346) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000510s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 522 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014217s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 21157 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000509s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 21157 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000456s ]