Preka
Programmer
- May 11, 2004
- 55
I've never really had cause to use SQL queries in Excel before. Having made my first, I noticed that when I viewed the SQL, instead of the inner joins I'm used to seeing, there is a series of "where" statements that perform that function instead.
If I edit the SQL to use inner joins, the query becomes invalid for use in the graphical query editor (which wouldn't be a problem except I want to use cells as parameters values, and apparently you can't parameterize a query that isn't valid for the GUI editor). It still returns rows just fine, just no more GUI.
If I go to table->joins, it displays the join syntax I'm used to seeing, but in the SQL statement for the query as a whole, it isn't present.
Is there a reason for that? This is a largely an academic/curiosity question, since the "where" statements get the job done just as well for my purposes, but I'm just curious about why it works that way, and why using "join" breaks the GUI.
If I edit the SQL to use inner joins, the query becomes invalid for use in the graphical query editor (which wouldn't be a problem except I want to use cells as parameters values, and apparently you can't parameterize a query that isn't valid for the GUI editor). It still returns rows just fine, just no more GUI.
If I go to table->joins, it displays the join syntax I'm used to seeing, but in the SQL statement for the query as a whole, it isn't present.
Is there a reason for that? This is a largely an academic/curiosity question, since the "where" statements get the job done just as well for my purposes, but I'm just curious about why it works that way, and why using "join" breaks the GUI.