Hi,
I'm very new to SQL and have a problem that I can't figure out. I'm using the following SQL query and I need to eliminate records where Tracks.RecordingID is duplicated. It seems the DISTINCT command checks all the records in the row and will not help here.
Can anyone help?
Thanks in advance
I'm very new to SQL and have a problem that I can't figure out. I'm using the following SQL query and I need to eliminate records where Tracks.RecordingID is duplicated. It seems the DISTINCT command checks all the records in the row and will not help here.
Code:
SELECT Tracks.TrackTitle, Tracks.RecordingID
FROM Tracks
WHERE (Tracks.TrackTitle) Like "*" & [Track Name:] & "*"
ORDER BY Tracks.RecordingID;
Can anyone help?
Thanks in advance