SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001395s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000456s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001602s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002194s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001053s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000604s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 279 LIMIT 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 279 [ RunTime:0.000176s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000182s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001335s ]
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.000797s ]
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.002459s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7876 LIMIT 4 [ RunTime:0.003212s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7876 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7876 LIMIT 2 [ RunTime:0.000204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='NC5MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000640s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002515s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10663 LIMIT 4 [ RunTime:0.006968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10663 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10663 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10659 LIMIT 4 [ RunTime:0.002559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10659 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10659 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
select * from pdf where partno='NC3MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16661 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.002240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16661 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16661 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000292s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15642 LIMIT 4 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.004530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15642 ORDER BY `unit` DESC [ RunTime:0.001815s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15642 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 601 LIMIT 4 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.002669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 601 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 601 LIMIT 2 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13319 LIMIT 4 [ RunTime:0.002657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13319 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13319 LIMIT 2 [ RunTime:0.000269s ]
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.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1796 LIMIT 4 [ RunTime:0.001872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1796 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1796 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FD-LX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7881 LIMIT 4 [ RunTime:0.003595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.000809s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7881 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7881 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
select * from pdf where partno='NC4FX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4FX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7880 LIMIT 4 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.001618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7880 ORDER BY `unit` DESC [ RunTime:0.001573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7880 LIMIT 2 [ RunTime:0.006097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='NC5MX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 602 LIMIT 4 [ RunTime:0.001986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 602 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 602 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000243s ]
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.002541s ]