Say I have two tables, owner and dog. Both have column name, but I'd like to join them, so there is a problem since both tables have column name. Can I rename (alias) the name column in the dog table during the query?
owner
dog
name
select d.Name as DogName, o.Name from Dog d inner join Owner o on d.OwnerID = o.OwnerID
1.4m articles
1.4m replys
5 comments
57.0k users