[!What does distinct do?]- removes duplicate tuples for all the selected rows
selects all unique tuples of rep_id & component_Id
it doesn't return the first tuple?????
[!What distinct on does] 1. Run the query 2. At the end, GROUP BY the
LIMIT 1 at the end
Last update: 2023-04-24