arcs / tasks /readable /033 /task_readable.md
yanlinf's picture
Release ARCS dataset
1fb4e2d verified
|
Raw History Blame Contribute Delete
535 Bytes

Task: 033

Database: professional_basketball

Question

Find all William Smith who played forward and guard.

Gold Query

SELECT DISTINCT playerID, firstName, lastName, pos
FROM players
WHERE firstName = 'William'
AND lastName = 'Smith'
AND (pos LIKE '%F%' OR pos LIKE '%G%');

Execution Result:

playerID firstName lastName pos
smithbi01 William Smith G-F
smithwi02 William Smith G

2 rows