Question: Using a semi - join, determine all the People who are fathers. Is this a SEMI - Join? SELECT DISTINCT Father.Name FROM Person Father JOIN

Using a semi-join, determine all the People who are fathers.
Is this a SEMI-Join?
SELECT DISTINCT Father.Name
FROM Person Father
JOIN Parent ON Father.PersonID = Parent.ParentID
WHERE Father.Gender='M'
Order BY Father.Name;
Using an anti-join, determine all of the unwed people.
SELECT Person.Name
FROM Person
LEFT JOIN Spouse ON Person.PersonID = Spouse.Spouse1 OR Person.PersonID = Spouse.Spouse2
WHERE Spouse.Spouse1 IS NULL;
How do I fix this code to get an Answer back??

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!