S
selgin
I have the following SQL that I want to use to make a table with only
distinct records from the first table. It works fine except that
occasionally patients have two records with different [PT MSS ID] fields.
Otherwise the two records are identical.
I appreciate all the help I have found here!
Here is the code.
SELECT DISTINCT [CHCS MAIN TABLE].[ENTRY DATE], [CHCS MAIN TABLE].[PT LAST
NAME], [CHCS MAIN TABLE].[PT FIRST NAME], [CHCS MAIN TABLE].[PT MI], [CHCS
MAIN TABLE].[PT MSS ID], [CHCS MAIN TABLE].[PT DOB], INTO [PRINT TABLE]
FROM [CHCS MAIN TABLE];
TIA
distinct records from the first table. It works fine except that
occasionally patients have two records with different [PT MSS ID] fields.
Otherwise the two records are identical.
I appreciate all the help I have found here!
Here is the code.
SELECT DISTINCT [CHCS MAIN TABLE].[ENTRY DATE], [CHCS MAIN TABLE].[PT LAST
NAME], [CHCS MAIN TABLE].[PT FIRST NAME], [CHCS MAIN TABLE].[PT MI], [CHCS
MAIN TABLE].[PT MSS ID], [CHCS MAIN TABLE].[PT DOB], INTO [PRINT TABLE]
FROM [CHCS MAIN TABLE];
TIA