SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.010590s ]
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` = '20145' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.006364s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20145 [ RunTime:0.007184s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (11037,23832,6954,7372,20400,13217,15015,7330,10511,22339,23484,8433,5007,25952,15640,15748,29624,13039,11773,28898,28365,4058,26831,14392) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.028748s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 511 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.093057s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20145 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000377s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20145 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000544s ]