Home > database > After oracle group, get the id of the minimum performance and classes and grades
After oracle group, get the id of the minimum performance and classes and grades
Time:09-20
Oracle data tables below the primary key id is uuid not Numbers
Need to get the results
Using the following SQL query result without id, I'm going to get the minimum scores the id of the
CodePudding user response:
The select scoreid, kc, cj The from score b Left the join (select Max (cj) as cj, kc from score a group by kc) on the biggest j c=Arthur c. j and c=c.k b.k c;
If there are multiple minimum scores, there will be multiple data,