When to use SQL Table Alias
问题 I\'m curious to know how people are using table aliases. The other developers where I work always use table aliases, and always use the alias of a, b, c, etc. Here\'s an example: SELECT a.TripNum, b.SegmentNum, b.StopNum, b.ArrivalTime FROM Trip a, Segment b WHERE a.TripNum = b.TripNum I disagree with them, and think table aliases should be use more sparingly. I think they should be used when including the same table twice in a query, or when the table name is very long and using a shorter