Hi,
I have a table with SIGNUPS to different events. This table has some simple columns like ID, IDUSER, IDEVENT and DATE. Each event is characterized my a maximum amount of people who can attend, so the table EVENTS has a column called let's say PLACES.
What I want to obtain for a given event is the list of the first "PLACES" signups to that event, that is the people who registered on time. The others will be marked on a Waiting List.
The behaviour should be something like "select the first PLACES signups to event X"
I tried to use LIMIT PLACES but it doesnt seem to be a valid syntax.
Any hint?