J
jonathan.cohen150887
Hi,
Ok here is the problem:
I have the following task to do:
List everyone who has bought two or more books by the same author
Problem is I cant seem to udnerstand how subqueries work so Im totally
lost since the info comes out of at least 3 tables.
Here are my tables:
AUTHOR : author_ref , FNAME, LNAME
Book_Author: ISBN_ref, Author_ref -->as multiple books can be written
by multiple authors
CustOrders_Books: CustOrder_ref, ISBN_ref, QUANTITY
CustomerOrders: CustOrder_ref, Customer_ref
So Im suppose to list the mby Customer_ref.
Can anyone help me ?thanks
Ok here is the problem:
I have the following task to do:
List everyone who has bought two or more books by the same author
Problem is I cant seem to udnerstand how subqueries work so Im totally
lost since the info comes out of at least 3 tables.
Here are my tables:
AUTHOR : author_ref , FNAME, LNAME
Book_Author: ISBN_ref, Author_ref -->as multiple books can be written
by multiple authors
CustOrders_Books: CustOrder_ref, ISBN_ref, QUANTITY
CustomerOrders: CustOrder_ref, Customer_ref
So Im suppose to list the mby Customer_ref.
Can anyone help me ?thanks