select EnrollmentNo =(select enrollmentNo from StudentMst where Student_ID = a.Student_ID),
a.Hobbies,a.MedicalConditions,
a.Emergency_Note,a.FatherOccupation,a.FatherDesignation,a.Father_Qual,
a.Monthly_Income,a.MotherOccupation,a.MotherDesignation,
Parent_MobileNo =(select Mobile from ParentMst where ParentID = (select top 1 ParentID from Parent_Student_Rel where Student_ID = a.Student_ID )),
a.Prev_School_Percentage,
a.Prev_School_Rank,a.Prev_School_FromDate,a.Prev_School_Todate,a.Father_FirstName,a.Father_LastName,a.Mother_FirstName
from Student_Detail a
a.Hobbies,a.MedicalConditions,
a.Emergency_Note,a.FatherOccupation,a.FatherDesignation,a.Father_Qual,
a.Monthly_Income,a.MotherOccupation,a.MotherDesignation,
Parent_MobileNo =(select Mobile from ParentMst where ParentID = (select top 1 ParentID from Parent_Student_Rel where Student_ID = a.Student_ID )),
a.Prev_School_Percentage,
a.Prev_School_Rank,a.Prev_School_FromDate,a.Prev_School_Todate,a.Father_FirstName,a.Father_LastName,a.Mother_FirstName
from Student_Detail a
Comments
Post a Comment