expand the joins
Posted: Fri 15 May 2009 19:13
I'm very font of Studio. I'm mostly use it with query builder, because my queries can be very complex. Now I had to create a query with a master table and a detail table. The detail has sometimes records of the master.
The result should like this
After al the query looks like this:
The LEFT JOIN is doing the right thing for my result.
Studio only gives the opportunity of INNER, LEFT OUTER and RIGHT OUTER JOIN. Even when I changed the LEFT OUTER JOIN into LEFT JOIN, the designer still gives LEFT OUTER JOIN.
Can studio be expanded with LEFT JOIN and RIGHT JOIN?
The result should like this
Code: Select all
id naam intro
1 john jaap
1 john klaas
2 jan Code: Select all
SELECT S.Id, S.Naam, I.Intronaam
FROM Inschrijvers S LEFT JOIN Introducees I ON I.Id = S.IdStudio only gives the opportunity of INNER, LEFT OUTER and RIGHT OUTER JOIN. Even when I changed the LEFT OUTER JOIN into LEFT JOIN, the designer still gives LEFT OUTER JOIN.
Can studio be expanded with LEFT JOIN and RIGHT JOIN?