SQL
x
SELECT
u.user_id,
u.user_name,
ug.ug_group,
COALESCE(ug.ug_expiry, 'infinity') AS ug_expiry
FROM
user u
LEFT JOIN
user_groups ug ON u.user_id = ug.ug_user
WHERE
u.user_name = 'WikiBayer';
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.