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
2.1m questions
2.1m answers
60 comments
57.0k users