What is the correct term for labeling tables in a query?

Deadly 提交于 2019-12-11 18:16:22

问题


I'm trying to figure out the correct name for table labeling.

SELECT var1, var2 FROM myTable TableRef

The label I'm referring to is the variable TableRef, which can be referenced from a WHERE clause like follows:

WHERE TableRef.var1 = 'someValue'

回答1:


As @Yosi pointed out. The term I was looking for was table alias.



来源:https://stackoverflow.com/questions/26037481/what-is-the-correct-term-for-labeling-tables-in-a-query

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!