You are on page 1of 1

SELECT

tblfines.StudentID, tblstudent.Last_name, tblstudent.First_name, tblstudent.Middle_name,


tblstudent.Year, tblstudent.Section, tblfines.Activity, tblactivity.Date,
tblfines.[In], tblfines.Out
FROM

tblfines INNER JOIN


tblactivity ON tblfines.Activity = tblactivity.Activity INNER JOIN
tblstudent ON tblfines.StudentID = tblstudent.StudentID

WHERE

(tblfines.StudentID = @studid)

You might also like