SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001469s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000539s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001575s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001589s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000357s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 277 LIMIT 1 [ RunTime:0.000947s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 277 [ RunTime:0.000529s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002015s ]
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.001789s ]
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.003362s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6859 LIMIT 4 [ RunTime:0.000635s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6859 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008017s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6859 LIMIT 2 [ RunTime:0.000930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='66601-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001723s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002981s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66601-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004116s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3666 LIMIT 4 [ RunTime:0.003965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3666 ORDER BY `minOrder` ASC [ RunTime:0.002350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3666 ORDER BY `unit` DESC [ RunTime:0.001408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3666 LIMIT 2 [ RunTime:0.000921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3666 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='7001-8P8C-R-M' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7001-8P8C-R-M' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3284 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3284 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3284 ORDER BY `unit` DESC [ RunTime:0.001517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3284 LIMIT 2 [ RunTime:0.004147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3284 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='206070-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002721s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206070-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001085s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6059 LIMIT 4 [ RunTime:0.000562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6059 ORDER BY `minOrder` ASC [ RunTime:0.001996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6059 ORDER BY `unit` DESC [ RunTime:0.001814s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6059 LIMIT 2 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6059 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLP2-375' OR `brand` LIKE 'BIVAR%' ) ) LIMIT 1 [ RunTime:0.001326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7789 LIMIT 4 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7789 ORDER BY `minOrder` ASC [ RunTime:0.004154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7789 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7789 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7789 ORDER BY `minOrder` ASC [ RunTime:0.001175s ]
select * from pdf where partno='9774030243R' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9774030243R' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.003360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6058 LIMIT 4 [ RunTime:0.005150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6058 ORDER BY `minOrder` ASC [ RunTime:0.010143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6058 ORDER BY `unit` DESC [ RunTime:0.002126s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6058 LIMIT 2 [ RunTime:0.002011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6058 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLP2-500' OR `brand` LIKE 'BIVAR%' ) ) LIMIT 1 [ RunTime:0.001992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8181 LIMIT 4 [ RunTime:0.001252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8181 ORDER BY `minOrder` ASC [ RunTime:0.000974s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8181 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8181 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8181 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT62-20-0122.' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.001107s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13616 LIMIT 4 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13616 ORDER BY `minOrder` ASC [ RunTime:0.003183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13616 ORDER BY `unit` DESC [ RunTime:0.003658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13616 LIMIT 2 [ RunTime:0.002811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13616 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182649-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 238 LIMIT 4 [ RunTime:0.001716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 238 ORDER BY `minOrder` ASC [ RunTime:0.001510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 238 ORDER BY `unit` DESC [ RunTime:0.000516s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 238 LIMIT 2 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 238 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
select * from pdf where partno='206039-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206039-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6764 LIMIT 4 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6764 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6764 ORDER BY `unit` DESC [ RunTime:0.001607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6764 LIMIT 2 [ RunTime:0.007672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6764 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM24M1S6' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13615 LIMIT 4 [ RunTime:0.001114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.001840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13615 ORDER BY `unit` DESC [ RunTime:0.001766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13615 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='182651-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182651-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12984 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.002007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12984 ORDER BY `unit` DESC [ RunTime:0.003208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12984 LIMIT 2 [ RunTime:0.001173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.000757s ]
select * from pdf where partno='62GB-12E10-06SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.001173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12983 LIMIT 4 [ RunTime:0.001246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.004081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12983 ORDER BY `unit` DESC [ RunTime:0.004572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12983 LIMIT 2 [ RunTime:0.001690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.001083s ]
select * from pdf where partno='62GB-12E10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.002019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12989 LIMIT 4 [ RunTime:0.001265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.004363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12989 ORDER BY `unit` DESC [ RunTime:0.002321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12989 LIMIT 2 [ RunTime:0.005103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='62GB-56T10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001888s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.001587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12982 LIMIT 4 [ RunTime:0.006162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.003320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12982 ORDER BY `unit` DESC [ RunTime:0.000513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12982 LIMIT 2 [ RunTime:0.001938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.001432s ]
select * from pdf where partno='62GB-12E08-33SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001846s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E08-33SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4547 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4547 ORDER BY `minOrder` ASC [ RunTime:0.000810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4547 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4547 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4547 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERZV10D221' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8725 LIMIT 4 [ RunTime:0.004444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725 ORDER BY `minOrder` ASC [ RunTime:0.001813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8725 ORDER BY `unit` DESC [ RunTime:0.003115s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8725 LIMIT 2 [ RunTime:0.001665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '005.33.220' OR `brand` LIKE 'ETTINGER%' ) ) LIMIT 1 [ RunTime:0.002358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4158 LIMIT 4 [ RunTime:0.001240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4158 ORDER BY `minOrder` ASC [ RunTime:0.001054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4158 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4158 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4158 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBG12P1' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001032s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12986 LIMIT 4 [ RunTime:0.001670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12986 ORDER BY `minOrder` ASC [ RunTime:0.006197s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12986 ORDER BY `unit` DESC [ RunTime:0.001476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12986 LIMIT 2 [ RunTime:0.002539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12986 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='62GB-12E14-04SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.002045s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E14-04SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12988 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12988 ORDER BY `minOrder` ASC [ RunTime:0.001125s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12988 ORDER BY `unit` DESC [ RunTime:0.000859s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12988 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12988 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
select * from pdf where partno='62GB-56T08-33PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001013s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T08-33PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.001704s ]
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.001147s ]