Task: Text to Code
Input (English): Step 1: find the LName, Age of Student table for which Sex equals Milk.
Step 2: find the LName, Age of Student table for which Sex equals Cat.
Step 3: show the rows that are in both the results of step 1 and the results of step 2
Output (English): SELECT LName , Age FROM Student WHERE Sex = "Milk" INTERSECT SELECT LName , Age FROM Student WHERE Sex = "Cat"