select i.*,s.firstname ,s.lastname from student_Inquiry i
inner join studentdetails s on
i.Student_InquiryDetail_sno != s.Student_InquiryDetail_sno
how to convert it into HQL
s.Student_InquiryDetail_sno (many to one )
i.Student_InquiryDetail_sno (one to many )
change it and give me login that will be more better instead of using any 3rd party convertor