-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
The following query in train_spider.json seems to be incorrect:
SELECT T2.Lname
FROM DEPARTMENT AS T1
JOIN FACULTY AS T2
ON T1.DNO = T3.DNO
JOIN MEMBER_OF AS T3
ON T2.FacID = T3.FacID
WHERE T1.DName = "Computer Science";The line ON T1.DNO = T3.DNO references T3 before it is defined.
The correct query probably should have been:
SELECT T2.Lname
FROM DEPARTMENT AS T1
JOIN MEMBER_OF AS T3
ON T1.DNO = T3.DNO
JOIN FACULTY AS T2
ON T2.FacID = T3.FacID
WHERE T1.DName = 'Computer Science';Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels