This query is marked as a draft This query has been published by SQL.

SQL

AخA
 
SELECT user_name,
       ug_group
FROM   user
       JOIN user_groups
         ON ug_user = user_id
WHERE  user_name = "SQL"; 
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...