A logins table records every login with its platform:
logins (
login_id INTEGER,
user_id INTEGER,
platform TEXT -- always 'web' or 'mobile'
)
Write a SQL query that returns the users who have logged in on BOTH web AND
mobile (at least once each). Multiple logins on the same platform count only
once.
Return column: user_id.
Order by user_id ASC.