So, I've tried to use the following SQL statements to return results from a relatively small database. I have checked the database for duplicate entries but all entries are different. The code is as follows:
SELECT *
FROM cds
JOIN releases
ON cds.cd_id = releases.cd_id
JOIN bands
ON releases.band_id = bands.band_id
WHERE position = '1'
AND
band_name = 'Prodigy';
and also this one...
SELECT title, position
FROM cds INNER JOIN releases ON cds.cd_id = releases.cd_id
WHERE position = '1'
AND band_id = '3'
Any reason as to why I'm getting duplicate results returned?