drosenkranz
Programmer
Hello,
I'm having rouble with a SQL Select statement incorporating 2 child tables for a Grid's source. I'm using VFP 6.0. Any suggestions would be greatly appreciated.
SELECT Phonemast.emp_no, Phonemast.dept, Phonemast.phone_no,;
Phonemast.last_name, Phonemast.first_name, Phonemast.first_titlecode;
Title.*, Dept.*;
FROM phonemast RIGHT OUTER JOIN title;
RIGHT OUTER JOIN dept ;
ON Phonemast.dept = Dept.dept ;
ON Phonemast.titlecode = Title.titlecode;
ORDER BY Phonemast.last_name, Phonemast.first_name
Thanks,
Dave
The 2nd mouse gets the cheese.
I'm having rouble with a SQL Select statement incorporating 2 child tables for a Grid's source. I'm using VFP 6.0. Any suggestions would be greatly appreciated.
SELECT Phonemast.emp_no, Phonemast.dept, Phonemast.phone_no,;
Phonemast.last_name, Phonemast.first_name, Phonemast.first_titlecode;
Title.*, Dept.*;
FROM phonemast RIGHT OUTER JOIN title;
RIGHT OUTER JOIN dept ;
ON Phonemast.dept = Dept.dept ;
ON Phonemast.titlecode = Title.titlecode;
ORDER BY Phonemast.last_name, Phonemast.first_name
Thanks,
Dave
The 2nd mouse gets the cheese.