SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002051s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002272s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001933s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001259s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001134s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 277 LIMIT 1 [ RunTime:0.005208s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 277 [ RunTime:0.000417s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001388s ]
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` = 277 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001251s ]
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 ('6859','3666','3284','6059','7789','6058','8181','13616','238','6764','13615','12984','12983','12989','12982','4547','8725','4158','12986','12988') ORDER BY FIELD(s.id, 6859,3666,3284,6059,7789,6058,8181,13616,238,6764,13615,12984,12983,12989,12982,4547,8725,4158,12986,12988) [ RunTime:0.001907s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6859 LIMIT 4 [ RunTime:0.002889s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.002055s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6859 ORDER BY `unit` DESC [ RunTime:0.001228s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001014s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6859 LIMIT 2 [ RunTime:0.000901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
select * from pdf where partno='66601-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002057s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002134s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66601-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3666 LIMIT 4 [ RunTime:0.002099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3666 ORDER BY `minOrder` ASC [ RunTime:0.002213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3666 ORDER BY `unit` DESC [ RunTime:0.002288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3666 LIMIT 2 [ RunTime:0.002699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3666 ORDER BY `minOrder` ASC [ RunTime:0.004512s ]
select * from pdf where partno='7001-8P8C-R-M' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.010164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7001-8P8C-R-M' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.010891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3284 LIMIT 4 [ RunTime:0.007504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3284 ORDER BY `minOrder` ASC [ RunTime:0.001129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3284 ORDER BY `unit` DESC [ RunTime:0.000661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3284 LIMIT 2 [ RunTime:0.000827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3284 ORDER BY `minOrder` ASC [ RunTime:0.001803s ]
select * from pdf where partno='206070-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.003236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206070-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6059 LIMIT 4 [ RunTime:0.012509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6059 ORDER BY `minOrder` ASC [ RunTime:0.002645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6059 ORDER BY `unit` DESC [ RunTime:0.005867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6059 LIMIT 2 [ RunTime:0.001631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6059 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLP2-375' OR `brand` LIKE 'BIVAR%' ) ) LIMIT 1 [ RunTime:0.001339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7789 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7789 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7789 ORDER BY `unit` DESC [ RunTime:0.000188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7789 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7789 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='9774030243R' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.002549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9774030243R' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.004717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6058 LIMIT 4 [ RunTime:0.003192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6058 ORDER BY `minOrder` ASC [ RunTime:0.003447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6058 ORDER BY `unit` DESC [ RunTime:0.002823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6058 LIMIT 2 [ RunTime:0.004385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6058 ORDER BY `minOrder` ASC [ RunTime:0.001824s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLP2-500' OR `brand` LIKE 'BIVAR%' ) ) LIMIT 1 [ RunTime:0.000682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8181 LIMIT 4 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8181 ORDER BY `minOrder` ASC [ RunTime:0.001323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8181 ORDER BY `unit` DESC [ RunTime:0.008072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8181 LIMIT 2 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8181 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT62-20-0122.' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.000871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13616 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13616 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13616 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13616 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13616 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182649-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 238 LIMIT 4 [ RunTime:0.000872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 238 ORDER BY `minOrder` ASC [ RunTime:0.009539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 238 ORDER BY `unit` DESC [ RunTime:0.003774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 238 LIMIT 2 [ RunTime:0.002490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 238 ORDER BY `minOrder` ASC [ RunTime:0.002768s ]
select * from pdf where partno='206039-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206039-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6764 LIMIT 4 [ RunTime:0.005996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6764 ORDER BY `minOrder` ASC [ RunTime:0.004803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6764 ORDER BY `unit` DESC [ RunTime:0.005720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6764 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6764 ORDER BY `minOrder` ASC [ RunTime:0.002151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM24M1S6' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.017791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13615 LIMIT 4 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.005200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13615 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13615 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.001574s ]
select * from pdf where partno='182651-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.006909s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182651-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.007870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12984 LIMIT 4 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.001385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12984 ORDER BY `unit` DESC [ RunTime:0.011428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12984 LIMIT 2 [ RunTime:0.005117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.001770s ]
select * from pdf where partno='62GB-12E10-06SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.003325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12983 LIMIT 4 [ RunTime:0.001502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.003434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12983 ORDER BY `unit` DESC [ RunTime:0.003017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12983 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.000529s ]
select * from pdf where partno='62GB-12E10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.000802s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12989 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12989 ORDER BY `unit` DESC [ RunTime:0.000345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12989 LIMIT 2 [ RunTime:0.007530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.002783s ]
select * from pdf where partno='62GB-56T10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.004859s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12982 LIMIT 4 [ RunTime:0.003645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12982 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12982 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.001346s ]
select * from pdf where partno='62GB-12E08-33SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.007538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E08-33SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4547 LIMIT 4 [ RunTime:0.000872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4547 ORDER BY `minOrder` ASC [ RunTime:0.001923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4547 ORDER BY `unit` DESC [ RunTime:0.001825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4547 LIMIT 2 [ RunTime:0.001956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4547 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERZV10D221' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.006610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8725 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8725 ORDER BY `unit` DESC [ RunTime:0.000253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8725 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '005.33.220' OR `brand` LIKE 'ETTINGER%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4158 LIMIT 4 [ RunTime:0.002630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4158 ORDER BY `minOrder` ASC [ RunTime:0.002542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4158 ORDER BY `unit` DESC [ RunTime:0.003609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4158 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4158 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBG12P1' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12986 LIMIT 4 [ RunTime:0.002141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12986 ORDER BY `minOrder` ASC [ RunTime:0.000987s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12986 ORDER BY `unit` DESC [ RunTime:0.000663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12986 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12986 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='62GB-12E14-04SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.000981s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E14-04SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12988 LIMIT 4 [ RunTime:0.001489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12988 ORDER BY `minOrder` ASC [ RunTime:0.001211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12988 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12988 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12988 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
select * from pdf where partno='62GB-56T08-33PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.000806s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T08-33PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.004321s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 277 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.011882s ]