Displaying no duplicate records

  • Thread starter Thread starter aaron_brown_GC
  • Start date Start date
A

aaron_brown_GC

Guest
My recordset contains reservation information, with customer names and numbers repeated over and over.

Is there a way to display each customer's info only once (perhaps in a new table?)

Thanks,

Aaron
 
use DISTINCT clause.

SELECT DISTINT cName, cID
FROM myTable;

Type this in SQL window and you will not see any duplicates.
 

Users who are viewing this thread

Back
Top Bottom