server/scripts/register/users.sql

7 lines
311 B
MySQL
Raw Normal View History

2001-12-30 12:26:56 +01:00
select users.id, users.email, users.firstname, users.lastname, users.email, games.name, races.name
from users, games, subscriptions, races
where subscriptions.user=users.id
and games.id=subscriptions.game
and subscriptions.race=races.race
order by games.id;