Lets say I have View1 and it’s got BreakfastID, Eggs, Toast for it’s columns and View2 has the samething, but I want to combine them so that it looks like this: BreakfastID, Eggs, Eggs2, Toast, Toast2 is there an easy way?
Help would be appreciated
My Day database work is in MySQL so the syntax may reflect that, but the concept should be the same.
In order to select from multiple views or tables with overlapping column names you need to make use of the AS Keyword to rename the overlapping variables, and the table.column syntax to specify what table you’re selecting from.
In your case: