SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002213s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000668s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002144s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002246s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000277s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 671 LIMIT 1 [ RunTime:0.000353s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 671 [ RunTime:0.000267s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002315s ]
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` = 671 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001736s ]
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.004405s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2493 LIMIT 4 [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2493 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2493 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='BLM21AG102SN1D' and brandshort='MURATA' limit 1 [ RunTime:0.001513s ]
select foldpath,foldpath2,filename from pdf_file where id=1110332 limit 1 [ RunTime:0.000734s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.005768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4239 LIMIT 4 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4239 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4239 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='0460-202-16141' and brandshort='DEUTSCH - TE CONNECTIVITY' limit 1 [ RunTime:0.001147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0460-202-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7074 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7074 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7074 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK9-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4240 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4240 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4240 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0462-201-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1246 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1246 ORDER BY `unit` DESC [ RunTime:0.002893s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1246 LIMIT 2 [ RunTime:0.001653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.001261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182663-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1167 LIMIT 4 [ RunTime:0.002014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1167 ORDER BY `unit` DESC [ RunTime:0.000245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1167 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='206138-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206138-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 205 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.002636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 205 ORDER BY `unit` DESC [ RunTime:0.010288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 205 LIMIT 2 [ RunTime:0.001937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.001487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '207008-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1897 LIMIT 4 [ RunTime:0.002160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.001437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1897 ORDER BY `unit` DESC [ RunTime:0.000253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1897 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCU-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4913 LIMIT 4 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.002287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4913 ORDER BY `unit` DESC [ RunTime:0.002282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4913 LIMIT 2 [ RunTime:0.002039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.001764s ]
select * from pdf where partno='CL1P3101' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.001247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1P3101' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3243 LIMIT 4 [ RunTime:0.003262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.002243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3243 ORDER BY `unit` DESC [ RunTime:0.002148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3243 LIMIT 2 [ RunTime:0.001935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.001558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206044-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000944s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1896 LIMIT 4 [ RunTime:0.002533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.001854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1896 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1896 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCT-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1166 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.011970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1166 ORDER BY `unit` DESC [ RunTime:0.003967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1166 LIMIT 2 [ RunTime:0.002974s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.002914s ]
select * from pdf where partno='1-206062-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-206062-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1168 LIMIT 4 [ RunTime:0.004425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.004714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1168 ORDER BY `unit` DESC [ RunTime:0.001417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1168 LIMIT 2 [ RunTime:0.004170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.008195s ]
select * from pdf where partno='206322-9' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206322-9' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4241 LIMIT 4 [ RunTime:0.004268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.003364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4241 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4241 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '114017' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7075 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7075 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7075 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK15-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13636 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13636 ORDER BY `unit` DESC [ RunTime:0.000261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13636 LIMIT 2 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='182655-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182655-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13957 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13957 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13957 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTP12DCG' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000583s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3244 LIMIT 4 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3244 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3244 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206612-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 227 LIMIT 4 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 227 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 227 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='206305-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206305-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4912 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4912 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4912 LIMIT 2 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='CL1M2201' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.000908s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1M2201' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000981s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 671 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001137s ]