C
csharp_babyboi
Hello to all,
I am new at writing queries. I am working on an application for a
bookstore. What I need is a query that will allow me to display the top
10 percent of all the authors based on books sold, and the top 10
percent of all customers based on the amount of dollars spent. Assuming
that I have a table CUSTOMERHISTORY containing the customer's buying
history, and another table TRANSACTIONS which contains all of books
bought, how would go about constructing these two queries?
Thank you,
-csbb
..net 4ever
I am new at writing queries. I am working on an application for a
bookstore. What I need is a query that will allow me to display the top
10 percent of all the authors based on books sold, and the top 10
percent of all customers based on the amount of dollars spent. Assuming
that I have a table CUSTOMERHISTORY containing the customer's buying
history, and another table TRANSACTIONS which contains all of books
bought, how would go about constructing these two queries?
Thank you,
-csbb
..net 4ever