G
Guest
how to make a query using SQL to get customer info by just entering the
telephone number?
telephone number?
how to make a query using SQL to get customer info by just entering the
telephone number?
John Vinson said:how to make a query using SQL to get customer info by just entering the
telephone number?
Well, of course, the SQL will depend totally on the structure of your
table, and what customer info you want. In short, assuming that the
telephone number is just a field named Phone in the table named
Customers:
SELECT * FROM Customers WHERE Phone = [Enter phone number:];
John W. Vinson[MVP]
colladita said:Thank you John:
This is my first time creating a database,
your post help me a lot, but gave me all customers records, not only
the one that I'm asking about. The idea is to only get the customer
record where the telephone number matches.
Any hint?