M
mscurto
What is the syntax for an sql command to get the following.
I want to pull in a handful of fields from a table but one of the
fields needs to be unique.
For example, if I have a customer table and I want to get each unique
customer number but I also want to get the customer's name, address,
email address, etc. What is the syntax?
I am trying to use DISTINCTROW but to no avail. If I use DISTINCT,
how do I pull in the other fields?
TIA.
I want to pull in a handful of fields from a table but one of the
fields needs to be unique.
For example, if I have a customer table and I want to get each unique
customer number but I also want to get the customer's name, address,
email address, etc. What is the syntax?
I am trying to use DISTINCTROW but to no avail. If I use DISTINCT,
how do I pull in the other fields?
TIA.