I have data of students' result. Each student has appeared in 5 subjects. Few students have more than 5 records in database. Student having 2 records in "Science" and 1 for each remaining subjects. total 6 records. example is given here.
sample data:
RollNo Subject TOTAL_MARKS
-------------------------------------
11-119-302 ENGL 34
11-119-302 MATH 56
11-119-302 SCIE 44
11-119-302 SCIE 24
11-119-302 URDU 76
I want to get all the fields of those students having duplicate subjects.
Required output:
RollNo Subject TOTAL_MARKS
-------------------------------------
11-119-302 ENGL 34
11-119-302 ENGL 56
11-119-333 SCIE 44
11-119-333 SCIE 24