select stufname, stulname, intname from tblstudent, tblintcompany, tblinthour where tblintcompany.intid = tblinthour.intid IN (select disinct(stuid) from tblinthour);