| 
	
 | 
 Posted by tizmagik on 04/17/07 04:15 
I am fairly new to SQL programming and believe me that wasn't the only 
thing that the assignment asked, however this question was the one 
question that I had a lot of trouble with and the lack of a book for 
the class (it's strictly lecture notes) was what brought me to look 
for help elsewhere. 
 
If I would have based the SQL query on the examples given by the 
professor I would have gotten a list of all customers who bought *at 
least one* item that "john" prefers, as apposed to the correct list 
(all customers who bought *all* the items that john prefers). 
Furthermore, the professor did not go over COUNT so I really did not 
see any way of doing it with what he has gone over so far. Perhaps 
there is a solution without using COUNT, I will be sure to ask the 
professor during next lecture. 
 
Thanks for those that helped.
 
  
Navigation:
[Reply to this message] 
 |