Depending upon the db, you can limit the number of rows in a table. In Access one would impose a validation rule where eg only a,b,c,d were allowed in a column, and then create a unique index for that column. Once rows with a,b,c,d existed, no other rows could be inserted because that would create duplicate keys.
You can do the same thing in MySQL with InnoDB tables and foriegn key constraints . Here one creates the unique index a,b,c,d in one table and use it as a foreign key in the main table. Again, once a,b,c,d have been used no further rows can be added.