Forum Replies Created

Viewing 6 posts - 1 through 7 (of 7 total)

  • RE: Northwind Querry INNER JOIN GROUP BY

    tfifield (2/20/2011)


    eh936,

    I'm curious as to exactly what the error message is then. I looked over my query and I can't see an error in it and I don't have...

  • RE: Northwind Querry INNER JOIN GROUP BY

    tfifield (2/16/2011)


    eh936 (2/15/2011)


    tfifield (2/15/2011)


    Thanks for letting me know. I thought your requirement was to list the actual orders for those customers. Of course your query works fine and...

  • RE: Northwind Querry INNER JOIN GROUP BY

    tfifield (2/15/2011)


    Thanks for letting me know. I thought your requirement was to list the actual orders for those customers. Of course your query works fine and is very...

  • RE: Northwind Querry INNER JOIN GROUP BY

    tfifield (2/15/2011)


    It probably gave you an ambiguous column name error since I forgot to specify a table alias in the join in the CTE.

    INNER JOIN Customers C ON

    ...

  • RE: Northwind Querry INNER JOIN GROUP BY

    tfifield (2/14/2011)


    eh936,

    The only way I know of to get the order info from just customers with 15 or more orders is to first determine which customers have that many orders...

  • RE: Northwind Querry INNER JOIN GROUP BY

    Firstly thanks for the reply. Secondly after running the above code in SQL Serve 2005 it returns 678 rows. Does that sound correct ? The report should return 5 rows....

Viewing 6 posts - 1 through 7 (of 7 total)