SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001747s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000651s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001607s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000794s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001083s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 279 LIMIT 1 [ RunTime:0.000443s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 279 [ RunTime:0.012125s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.004387s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002188s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 279 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001698s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('7876','10663','10659','16661','15642','601','13319','1796','7881','7880','602') ORDER BY FIELD(s.id, 7876,10663,10659,16661,15642,601,13319,1796,7881,7880,602) [ RunTime:0.001356s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7876 LIMIT 4 [ RunTime:0.001234s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7876 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7876 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='NC5MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.002569s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002995s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10663 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10663 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10663 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10659 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10659 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10659 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
select * from pdf where partno='NC3MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16661 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16661 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16661 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15642 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15642 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15642 LIMIT 2 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 601 LIMIT 4 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 601 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 601 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13319 LIMIT 4 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13319 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13319 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1796 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1796 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1796 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FD-LX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7881 LIMIT 4 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7881 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7881 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='NC4FX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4FX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.001189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7880 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7880 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7880 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='NC5MX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 602 LIMIT 4 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 602 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 602 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000280s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 279 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000342s ]