SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001289s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003639s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002323s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001736s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000276s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 51 LIMIT 1 [ RunTime:0.000342s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000230s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001998s ]
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` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003866s ]
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 ('2493','4239','7074','4240','1246','1167','205','1897','4913','3243','1896','1166','1168','4241','7075','13636','13957','3244','227','4912') ORDER BY FIELD(s.id, 2493,4239,7074,4240,1246,1167,205,1897,4913,3243,1896,1166,1168,4241,7075,13636,13957,3244,227,4912) [ RunTime:0.008851s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2493 LIMIT 4 [ RunTime:0.000697s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.001409s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2493 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2493 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
select * from pdf where partno='BLM21AG102SN1D' and brandshort='MURATA' limit 1 [ RunTime:0.000362s ]
select foldpath,foldpath2,filename from pdf_file where id=1110332 limit 1 [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.002109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4239 LIMIT 4 [ RunTime:0.002117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4239 ORDER BY `unit` DESC [ RunTime:0.000209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4239 LIMIT 2 [ RunTime:0.000188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='0460-202-16141' and brandshort='DEUTSCH - TE CONNECTIVITY' limit 1 [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0460-202-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7074 LIMIT 4 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7074 ORDER BY `unit` DESC [ RunTime:0.000181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7074 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK9-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4240 LIMIT 4 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4240 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4240 LIMIT 2 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0462-201-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1246 LIMIT 4 [ RunTime:0.000185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1246 ORDER BY `unit` DESC [ RunTime:0.000190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1246 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182663-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1167 LIMIT 4 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1167 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1167 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='206138-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206138-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 205 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 205 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 205 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '207008-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1897 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1897 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1897 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCU-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4913 LIMIT 4 [ RunTime:0.000195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4913 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4913 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='CL1P3101' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.000332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1P3101' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3243 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3243 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3243 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206044-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1896 LIMIT 4 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1896 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1896 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCT-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1166 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1166 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1166 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='1-206062-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-206062-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1168 LIMIT 4 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1168 ORDER BY `unit` DESC [ RunTime:0.000181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1168 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
select * from pdf where partno='206322-9' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000603s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206322-9' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4241 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4241 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4241 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '114017' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7075 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7075 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7075 LIMIT 2 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK15-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13636 LIMIT 4 [ RunTime:0.002374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13636 ORDER BY `unit` DESC [ RunTime:0.002417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13636 LIMIT 2 [ RunTime:0.002902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='182655-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000531s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182655-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13957 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13957 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13957 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTP12DCG' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3244 LIMIT 4 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3244 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3244 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206612-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 227 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 227 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 227 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='206305-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206305-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4912 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4912 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4912 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
select * from pdf where partno='CL1M2201' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1M2201' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000327s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002998s ]