yrstruly Posted November 3, 2022 Share Posted November 3, 2022 Please assist. I would like to answer this question: "What is the average order value in the African Region per month?" My Data Model: My Code: SELECT Avg(Orders) AS Order Value FROM Orders, Customer, Nation, Region Join Customer AS C ON Customer.Custkey = Orders.Custkey Join Customer AS C ON Customer.Nationkey=Nation.Nationkey Join Nation.Nationkey=Region.Nationkey where Region = Africa Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now