I got it wrong as well, which, unfortunately, seems to be happening a lot lately. My only comment is that I would prefer that database context be given something like;
Given the tables Customer (customerid, pricingplan) and SalesOrderId(clientid, category) what is the result of the following query.
I assumed the context was AdventureWorks and the query is wrong in that context.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question