How to retrieve an average from a specific data type from a column in sql -


i have table called products, contains 2 rows (plus others):price , mfr. how list average price items provided particular manufacturer (using summary query)?

select avg(price) priceaverage products mfr = 'particularmanufacter' 

but future recommend homework yourself. student :)


Comments

Popular posts from this blog

forms - Secure PHP File Upload Script -

PHP: Exploding array elements -

java - How do I override the spring framework version in Spring Batch? -