SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001626s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002437s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001720s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001074s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000197s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 51 LIMIT 1 [ RunTime:0.000276s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000185s ]
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.000303s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001202s ]
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.003422s ]
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.005989s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2493 LIMIT 4 [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2493 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2493 LIMIT 2 [ RunTime:0.001761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2493 ORDER BY `minOrder` ASC [ RunTime:0.003647s ]
select * from pdf where partno='BLM21AG102SN1D' and brandshort='MURATA' limit 1 [ RunTime:0.003545s ]
select foldpath,foldpath2,filename from pdf_file where id=1110332 limit 1 [ RunTime:0.002444s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002934s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4239 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4239 ORDER BY `unit` DESC [ RunTime:0.001529s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4239 LIMIT 2 [ RunTime:0.002449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4239 ORDER BY `minOrder` ASC [ RunTime:0.001323s ]
select * from pdf where partno='0460-202-16141' and brandshort='DEUTSCH - TE CONNECTIVITY' limit 1 [ RunTime:0.007329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0460-202-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7074 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.003121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7074 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7074 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7074 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK9-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4240 LIMIT 4 [ RunTime:0.001612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4240 ORDER BY `unit` DESC [ RunTime:0.005156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4240 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4240 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0462-201-16141' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1246 LIMIT 4 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1246 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1246 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1246 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182663-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1167 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1167 ORDER BY `unit` DESC [ RunTime:0.004015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1167 LIMIT 2 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1167 ORDER BY `minOrder` ASC [ RunTime:0.000662s ]
select * from pdf where partno='206138-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001953s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206138-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 205 LIMIT 4 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 205 ORDER BY `unit` DESC [ RunTime:0.000524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 205 LIMIT 2 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 205 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '207008-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000735s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1897 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.004035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1897 ORDER BY `unit` DESC [ RunTime:0.001764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1897 LIMIT 2 [ RunTime:0.001445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1897 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCU-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4913 LIMIT 4 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.000482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4913 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4913 LIMIT 2 [ RunTime:0.001300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4913 ORDER BY `minOrder` ASC [ RunTime:0.002702s ]
select * from pdf where partno='CL1P3101' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.002022s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1P3101' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3243 LIMIT 4 [ RunTime:0.001174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.002363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3243 ORDER BY `unit` DESC [ RunTime:0.003180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3243 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3243 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206044-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1896 LIMIT 4 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1896 ORDER BY `unit` DESC [ RunTime:0.001090s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1896 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1896 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RCT-0C' OR `brand` LIKE 'CGS - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1166 LIMIT 4 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1166 ORDER BY `unit` DESC [ RunTime:0.003489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1166 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1166 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='1-206062-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-206062-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1168 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.003471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1168 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1168 LIMIT 2 [ RunTime:0.000978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1168 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
select * from pdf where partno='206322-9' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206322-9' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4241 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4241 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4241 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4241 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '114017' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7075 LIMIT 4 [ RunTime:0.001662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7075 ORDER BY `unit` DESC [ RunTime:0.000991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7075 LIMIT 2 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7075 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTZK15-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13636 LIMIT 4 [ RunTime:0.001290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13636 ORDER BY `unit` DESC [ RunTime:0.003042s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13636 LIMIT 2 [ RunTime:0.001066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13636 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='182655-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182655-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13957 LIMIT 4 [ RunTime:0.004003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13957 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13957 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13957 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTP12DCG' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3244 LIMIT 4 [ RunTime:0.001899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3244 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3244 LIMIT 2 [ RunTime:0.002563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3244 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206612-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 227 LIMIT 4 [ RunTime:0.000799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.002469s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 227 ORDER BY `unit` DESC [ RunTime:0.000911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 227 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 227 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='206305-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000894s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206305-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4912 LIMIT 4 [ RunTime:0.001851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4912 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4912 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4912 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
select * from pdf where partno='CL1M2201' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.001210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL1M2201' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001098s ]
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.004428s ]