I have a problem when I try to run this script I get the above error message. I am a rookie my level is beginner I am just trying to teach myself. What
This is my script
Select *
from Customer, Account where customerid=8;
I have a problem when I try to run this script I get the above error message. I am a rookie my level is beginner I am just trying to teach myself. What
This is my script
Select *
from Customer, Account where customerid=8;
You customer and account both have customerid
field
You need specify what table are you refering too
Select *
from Customer, Account
where Customer.customerid=8;
Because customerid appears in both tables you have to tell SQL which table you want to use, e.g.
Select *
from Customer, Account where Customer.customerid = 8
or
Select *
from Customer, Account where Account.customerid = 8