SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.007042s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000643s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001560s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000316s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001817s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001724s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 279 LIMIT 1 [ RunTime:0.001072s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 279 [ RunTime:0.002752s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.005899s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001816s ]
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.005845s ]
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.003837s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7876 LIMIT 4 [ RunTime:0.002451s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.003165s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7876 ORDER BY `unit` DESC [ RunTime:0.009818s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7876 LIMIT 2 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000852s ]
select * from pdf where partno='NC5MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.001699s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002054s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.003925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10663 LIMIT 4 [ RunTime:0.000735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10663 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10663 LIMIT 2 [ RunTime:0.002708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.005450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.003326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10659 LIMIT 4 [ RunTime:0.004343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.004739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10659 ORDER BY `unit` DESC [ RunTime:0.004020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10659 LIMIT 2 [ RunTime:0.003421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.004438s ]
select * from pdf where partno='NC3MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.003813s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.004694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16661 LIMIT 4 [ RunTime:0.008983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.002232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16661 ORDER BY `unit` DESC [ RunTime:0.000588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16661 LIMIT 2 [ RunTime:0.000723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15642 LIMIT 4 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15642 ORDER BY `unit` DESC [ RunTime:0.000477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15642 LIMIT 2 [ RunTime:0.001668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 601 LIMIT 4 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.001158s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 601 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 601 LIMIT 2 [ RunTime:0.001015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.005029s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.001452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13319 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13319 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13319 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1796 LIMIT 4 [ RunTime:0.000872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.001066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1796 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1796 LIMIT 2 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FD-LX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7881 LIMIT 4 [ RunTime:0.002578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.002810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7881 ORDER BY `unit` DESC [ RunTime:0.000515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7881 LIMIT 2 [ RunTime:0.001240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.004492s ]
select * from pdf where partno='NC4FX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.002616s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4FX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.002523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7880 LIMIT 4 [ RunTime:0.000943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.001694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7880 ORDER BY `unit` DESC [ RunTime:0.000697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7880 LIMIT 2 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='NC5MX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000867s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 602 LIMIT 4 [ RunTime:0.002214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.014593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 602 ORDER BY `unit` DESC [ RunTime:0.004456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 602 LIMIT 2 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.001374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000748s ]
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.001515s ]