Skip to content

Tyler spaulding - #1

Open
NightlyD3V wants to merge 2 commits into
masterfrom
Tyler-Spaulding
Open

Tyler spaulding#1
NightlyD3V wants to merge 2 commits into
masterfrom
Tyler-Spaulding

Conversation

@NightlyD3V

Copy link
Copy Markdown
Owner

No description provided.

@NightlyD3V
NightlyD3V requested a review from jheinz1999 May 13, 2019 23:12

@jheinz1999 jheinz1999 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far! Just a few left to go, I know they're difficult but you can do it!

Comment thread README.md

### list orders grouped by customer showing the number of orders per customer. _Rattlesnake Canyon Grocery_ should have 7 orders.
> This can be done with SELECT, COUNT, JOIN and GROUP BY clauses. Your count should focus on a field in the Orders table, not the Customer table
SELECT Orders.OrderID, Customers.CustomerID, Customers.CustomerName

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are going to want to use the COUNT function here to list the number of orders per customer

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will also need to use GROUP BY to get this to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants