SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001304s ]
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` = '20451' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000400s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20451 [ RunTime:0.003023s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (22272,18755,22953,15825,9017,13619,6269,8635,6561,172,17861,8081,18183,21488,15209,18420,23659,22206,7298,8051,23480,15817,2539,17332) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001485s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.020036s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20451 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000431s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20451 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000558s ]