SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002704s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000737s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001658s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.001342s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001807s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 51 LIMIT 1 [ RunTime:0.001211s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000190s ]
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.000320s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001148s ]
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.009150s ]
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.016861s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2493 LIMIT 4 [ RunTime:0.008539s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.022699s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2493 ORDER BY `unit` DESC [ RunTime:0.007483s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2493 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.002769s ]
select * from pdf where partno='BLM21AG102SN1D' and brandshort='MURATA' limit 1 [ RunTime:0.002471s ]
select foldpath,foldpath2,filename from pdf_file where id=1110332 limit 1 [ RunTime:0.003344s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4239 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.003006s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4239 ORDER BY `unit` DESC [ RunTime:0.006889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4239 LIMIT 2 [ RunTime:0.005720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
select * from pdf where partno='0460-202-16141' and brandshort='DEUTSCH - TE CONNECTIVITY' limit 1 [ RunTime:0.001647s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0460-202-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7074 LIMIT 4 [ RunTime:0.004509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.001926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7074 ORDER BY `unit` DESC [ RunTime:0.000910s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7074 LIMIT 2 [ RunTime:0.000930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.002102s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK9-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.002277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4240 LIMIT 4 [ RunTime:0.001539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4240 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4240 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000944s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0462-201-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1246 LIMIT 4 [ RunTime:0.001761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1246 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1246 LIMIT 2 [ RunTime:0.000437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182663-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1167 LIMIT 4 [ RunTime:0.000647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.006512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1167 ORDER BY `unit` DESC [ RunTime:0.000531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1167 LIMIT 2 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='206138-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206138-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 205 LIMIT 4 [ RunTime:0.002013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.002154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 205 ORDER BY `unit` DESC [ RunTime:0.000526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 205 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '207008-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000689s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1897 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.006511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1897 ORDER BY `unit` DESC [ RunTime:0.004105s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1897 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.001817s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCU-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4913 LIMIT 4 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.001328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4913 ORDER BY `unit` DESC [ RunTime:0.012527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4913 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
select * from pdf where partno='CL1P3101' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.004751s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1P3101' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.003265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3243 LIMIT 4 [ RunTime:0.001818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3243 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3243 LIMIT 2 [ RunTime:0.001155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.001501s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206044-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1896 LIMIT 4 [ RunTime:0.003294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.001080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1896 ORDER BY `unit` DESC [ RunTime:0.004194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1896 LIMIT 2 [ RunTime:0.002079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCT-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1166 LIMIT 4 [ RunTime:0.003970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.001897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1166 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1166 LIMIT 2 [ RunTime:0.001278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.002051s ]
select * from pdf where partno='1-206062-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.003382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-206062-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1168 LIMIT 4 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1168 ORDER BY `unit` DESC [ RunTime:0.006782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1168 LIMIT 2 [ RunTime:0.003252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='206322-9' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002563s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206322-9' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4241 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4241 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4241 LIMIT 2 [ RunTime:0.001625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '114017' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7075 LIMIT 4 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7075 ORDER BY `unit` DESC [ RunTime:0.001137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7075 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK15-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13636 LIMIT 4 [ RunTime:0.001445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.001129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13636 ORDER BY `unit` DESC [ RunTime:0.000366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13636 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='182655-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182655-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13957 LIMIT 4 [ RunTime:0.001597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13957 ORDER BY `unit` DESC [ RunTime:0.000156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13957 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTP12DCG' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3244 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.004494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3244 ORDER BY `unit` DESC [ RunTime:0.001866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3244 LIMIT 2 [ RunTime:0.001715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206612-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 227 LIMIT 4 [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 227 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 227 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
select * from pdf where partno='206305-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206305-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4912 LIMIT 4 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4912 ORDER BY `unit` DESC [ RunTime:0.002031s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4912 LIMIT 2 [ RunTime:0.006075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
select * from pdf where partno='CL1M2201' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.003919s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1M2201' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000716s ]
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.004227s ]