i have 3 tables:-
- student
2.paper
3.exam
student fields are
id , name
paper fields are
id, paper, max_marks
exam fields are
id, student_id,paper_id, marks obtained
i need final table
paper marks_obtained max_marks
abc xyz xyz
bdb jdud jjd
sum xndd jddg
plz give me sql code for this table…