File size: 535 Bytes
1fb4e2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Task: 033
**Database:** professional_basketball
## Question
Find all William Smith who played forward and guard.
## Gold Query
```sql
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* |