I have the following query which returns data only if the join exists. How do I return from the last joined table (#__unis) datas, even if there is no relationship between those tables without to write another query?
select * from #__unis_faculties AS faculty join #__unis_subjects AS subject ON subject.faculty = faculty.id join #__unis AS uni ON uni.id= subject.university where uni.id = 1 table structure http://sqlfiddle.com/#!2/19add