I have the following tables and I have to get all orders of customer Meier.
Table Customer with columns cid and name:
cid           name
-------------------------
13            M. Mueller
17            A. Meier
23            I. Schulze
Table Orders with columns Oid, Did, Date and Cid:
Oid       Did       Date          Cid
--------------------------------------
3         7        2002-12-01     17
5         11       2003-04-27     23
7         5        2003-05-13     17
10        5        2003-09-01     13
What I have tried is the following:
SELECT Oid.Orders, Did.Orders, Date.Orders, Cid.Orders,
FROM Orders
INNER JOIN Customer ON Cid.Orders = cid.Customer
WHERE name.Customer = "A. Meier"
But there is a syntax error that I am not able to find. How should I proceed in this case?
 
     
     
    