I have the following query
select
v.id,
c.image_type_id,
vp.x,
vp.y,
vp.z
FROM
v,
vp,
c,
WHERE v.id = vp.id
AND v.id = c.id
I need the v.id to be unique in each column (only one entry for each v.id). Some of the ids are returning multiple rows. What's the best way to do it?
P.S The rows of the duplicate ids are different