In
SELECT a.NAME, a.NUMBER, a.STRING, a.RDB$DB_KEY FROM ADMIN a
what does a stand for?
Thanks.
An alias for the table ADMIN. It's not necessary here, because you only have one table in your query.
When you have more than one table, and some of the columns are the same, then you need to distinguish between them. One way is to write the table name in front of the column name. E.g.,
Select ADMIN.Name, person.name from ADMIN, person where person.id = admin.id
To make this shorter, add aliases for the table names.
select a.Name, p.Name from ADMIN a, person p where person.id = admin.id