Question: Show ids of students who play video game and play sports.
Schema: create table plays_games (stuid varchar, PRIMARY KEY (stuid)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))
SQL: select stuid from sportsinfo intersect select stuid from plays_games