In SQL, what is the letter after a table name in a select statement?

后端 未结 9 1049
时光取名叫无心
时光取名叫无心 2020-12-19 11:28

In

SELECT a.NAME, a.NUMBER, a.STRING, a.RDB$DB_KEY FROM ADMIN a

what does a stand for?

Thanks.

9条回答
  •  感情败类
    2020-12-19 11:30

    The query is using a like that just so that you don't have to write ADMIN.NAME, ADMIN.NUMBER, etc etc. If you have fifteen fields on your table and your table has a name like VPCPDEEE it gets very tiresome to type the same table name over and over.

提交回复
热议问题