Ask Your Question
2

What is the proper syntax for a correlated subquery that connects all point guards earning over 2 million dollars with their respective teams?

asked 2023-05-14 14:54:34 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-05-14 15:01:02 +0000

scrum gravatar image

SELECT playername, teamname FROM players WHERE position = 'PG' AND salary > 2000000 AND teamname IN (SELECT teamname FROM players WHERE position = 'PG' AND salary > 2000000)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-14 14:54:34 +0000

Seen: 10 times

Last updated: May 14 '23