SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001261s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005220s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001499s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.001445s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001280s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.006115s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 16 LIMIT 1 [ RunTime:0.006396s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 16 [ RunTime:0.002280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) [ RunTime:0.000696s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001465s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) AND `u`.`lockUser` = '0' [ RunTime:0.003886s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007081s ]
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 = 1) ) AND `s`.`id` IN ('14975','14970','10076','3488','3054','11436498','6245','846','5340','11531499','14468244','11435497','10091691') ORDER BY FIELD(s.id, 14975,14970,10076,3488,3054,11436498,6245,846,5340,11531499,14468244,11435497,10091691) [ RunTime:0.026132s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.017367s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.009502s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.010531s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002512s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.005870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.002356s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.005008s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.005827s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.016622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.004823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.003189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.001764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.003352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.002064s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.002131s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.006141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 4 [ RunTime:0.001934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.005199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.002351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.004769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.003246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.011858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3488 LIMIT 4 [ RunTime:0.002857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3488 ORDER BY `unit` DESC [ RunTime:0.002555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3488 LIMIT 2 [ RunTime:0.003599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.000852s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '594D187X0016R2T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3054 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.004327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3054 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3054 LIMIT 2 [ RunTime:0.004082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.006059s ]
select * from pdf where partno='T494B685K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.010524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494B685K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.011637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11436498 LIMIT 4 [ RunTime:0.005884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11436498 ORDER BY `minOrder` ASC [ RunTime:0.013758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11436498 ORDER BY `unit` DESC [ RunTime:0.005541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11436498 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11436498 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='LA4725'limit 1 [ RunTime:0.000769s ]
select foldpath,foldpath2,filename from pdf_file where id=375678 limit 1 [ RunTime:0.008948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6245 LIMIT 4 [ RunTime:0.009693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.002436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6245 ORDER BY `unit` DESC [ RunTime:0.001761s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6245 LIMIT 2 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.001038s ]
select * from pdf where partno='T491A106M020AT.' and brandshort='KEMET' limit 1 [ RunTime:0.000558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491A106M020AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 846 LIMIT 4 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.001088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 846 ORDER BY `unit` DESC [ RunTime:0.001835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 846 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T353G106K035AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5340 LIMIT 4 [ RunTime:0.005285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5340 ORDER BY `unit` DESC [ RunTime:0.003715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5340 LIMIT 2 [ RunTime:0.003205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.010370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39006/22-0619' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.009133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11531499 LIMIT 4 [ RunTime:0.001481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11531499 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11531499 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11531499 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11531499 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
select * from pdf where partno='LA4725' and brandshort='MAXIM' limit 1 [ RunTime:0.002012s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14468244 LIMIT 4 [ RunTime:0.005237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14468244 ORDER BY `minOrder` ASC [ RunTime:0.009420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14468244 ORDER BY `unit` DESC [ RunTime:0.015304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14468244 LIMIT 2 [ RunTime:0.003936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14468244 ORDER BY `minOrder` ASC [ RunTime:0.004510s ]
select * from pdf where partno='LA4725'limit 1 [ RunTime:0.006055s ]
select foldpath,foldpath2,filename from pdf_file where id=375678 limit 1 [ RunTime:0.000328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LA4725' OR `brand` LIKE '宏迦橙%' ) ) LIMIT 1 [ RunTime:0.000924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11435497 LIMIT 4 [ RunTime:0.013717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11435497 ORDER BY `minOrder` ASC [ RunTime:0.013307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11435497 ORDER BY `unit` DESC [ RunTime:0.001637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11435497 LIMIT 2 [ RunTime:0.001477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11435497 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='LA4725' and brandshort='MAXIM' limit 1 [ RunTime:0.005113s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LA4725' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.004743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10091691 LIMIT 4 [ RunTime:0.006319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091691 ORDER BY `minOrder` ASC [ RunTime:0.002369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10091691 ORDER BY `unit` DESC [ RunTime:0.000801s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10091691 LIMIT 2 [ RunTime:0.000720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091691 ORDER BY `minOrder` ASC [ RunTime:0.000662s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.001712s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.002198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.002816s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006741s ]