How do I limit the number of rows returned by this LEFT JOIN to one?

前端 未结 6 462
孤城傲影
孤城傲影 2021-01-11 17:08

So I think I\'ve seen a solution to this however they are all very complicated queries. I\'m in oracle 11g for reference.

What I have is a simple one to many join w

6条回答
  •  再見小時候
    2021-01-11 17:42

    I think what you need is to use GROUP BY on the ASSIGNMENT_GROUP field.

    http://www.w3schools.com/sql/sql_groupby.asp

提交回复
热议问题