There are two tables named Customers and Payments. They both have the "CustomerNumber"
Here's what i am trying to do.
Select checkNumber, amount, CustomerNumber, CustomerName
FROM Payments, Customers
And i get an error saying : Unknown column....` in 'field list'
I also tried doing this query
Select checkNumber, amount, Payments.CustomerNumber, CustomerName
FROM Payments, Customers
It didn't work T_T
i tried this one
Select checkNumber, amount, customerNumber, customerName
FROM payments, customers
I get this error "Column 'customerNumber' in field list is ambiguous"
CustomerName!=customerName.