SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001814s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003856s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001436s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.001185s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001704s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004492s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 51 LIMIT 1 [ RunTime:0.000513s ]
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.003079s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001518s ]
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.006476s ]
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.002592s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2493 LIMIT 4 [ RunTime:0.000406s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.002864s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2493 ORDER BY `unit` DESC [ RunTime:0.000665s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2493 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.000818s ]
select * from pdf where partno='BLM21AG102SN1D' and brandshort='MURATA' limit 1 [ RunTime:0.003315s ]
select foldpath,foldpath2,filename from pdf_file where id=1110332 limit 1 [ RunTime:0.005012s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.007539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4239 LIMIT 4 [ RunTime:0.002982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.001391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4239 ORDER BY `unit` DESC [ RunTime:0.000557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4239 LIMIT 2 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.005497s ]
select * from pdf where partno='0460-202-16141' and brandshort='DEUTSCH - TE CONNECTIVITY' limit 1 [ RunTime:0.007377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0460-202-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7074 LIMIT 4 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7074 ORDER BY `unit` DESC [ RunTime:0.009081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7074 LIMIT 2 [ RunTime:0.006574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.001647s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK9-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.009307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4240 LIMIT 4 [ RunTime:0.002221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4240 ORDER BY `unit` DESC [ RunTime:0.001051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4240 LIMIT 2 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.001257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0462-201-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1246 LIMIT 4 [ RunTime:0.001434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1246 ORDER BY `unit` DESC [ RunTime:0.000457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1246 LIMIT 2 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182663-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1167 LIMIT 4 [ RunTime:0.003226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.003267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1167 ORDER BY `unit` DESC [ RunTime:0.000765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1167 LIMIT 2 [ RunTime:0.000608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.001509s ]
select * from pdf where partno='206138-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001736s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206138-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 205 LIMIT 4 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 205 ORDER BY `unit` DESC [ RunTime:0.000956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 205 LIMIT 2 [ RunTime:0.003566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '207008-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1897 LIMIT 4 [ RunTime:0.000543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1897 ORDER BY `unit` DESC [ RunTime:0.000512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1897 LIMIT 2 [ RunTime:0.002630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCU-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4913 LIMIT 4 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4913 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4913 LIMIT 2 [ RunTime:0.002454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='CL1P3101' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.004462s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1P3101' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.002749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3243 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3243 ORDER BY `unit` DESC [ RunTime:0.004324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3243 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.001691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206044-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1896 LIMIT 4 [ RunTime:0.001965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.002528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1896 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1896 LIMIT 2 [ RunTime:0.009662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.007929s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCT-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1166 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.001312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1166 ORDER BY `unit` DESC [ RunTime:0.002846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1166 LIMIT 2 [ RunTime:0.001982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.002167s ]
select * from pdf where partno='1-206062-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.005410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-206062-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.018877s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1168 LIMIT 4 [ RunTime:0.008233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1168 ORDER BY `unit` DESC [ RunTime:0.001075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1168 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.001956s ]
select * from pdf where partno='206322-9' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004141s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206322-9' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4241 LIMIT 4 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4241 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4241 LIMIT 2 [ RunTime:0.000689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '114017' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7075 LIMIT 4 [ RunTime:0.002020s ]
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.000482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7075 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.008645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK15-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.002536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13636 LIMIT 4 [ RunTime:0.001769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.001658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13636 ORDER BY `unit` DESC [ RunTime:0.002041s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13636 LIMIT 2 [ RunTime:0.006545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.002945s ]
select * from pdf where partno='182655-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.008988s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182655-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.021037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13957 LIMIT 4 [ RunTime:0.004295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.010669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13957 ORDER BY `unit` DESC [ RunTime:0.004825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13957 LIMIT 2 [ RunTime:0.007912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.006760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTP12DCG' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.006967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3244 LIMIT 4 [ RunTime:0.006602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.004217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3244 ORDER BY `unit` DESC [ RunTime:0.007819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3244 LIMIT 2 [ RunTime:0.001465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206612-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 227 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 227 ORDER BY `unit` DESC [ RunTime:0.001588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 227 LIMIT 2 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.001265s ]
select * from pdf where partno='206305-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206305-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4912 LIMIT 4 [ RunTime:0.007682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.003531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4912 ORDER BY `unit` DESC [ RunTime:0.003897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4912 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='CL1M2201' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.001778s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1M2201' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001292s ]
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.000610s ]