Quote:
Originally Posted by Julian Mishke
why are you starting from Event table
|
because that's likely the "driving" table which the optimizer will pick as the most restrictive table (see the WHERE clause) -- thus returning fewer rows to be joined, as opposed to starting with, say, the score table, returning all scores and then throwing away the ones that aren't for the right event
Quote:
Originally Posted by Julian Mishke
And what does ‘t’ mean at the end?
|
it's a table alias and is required for subqueries in the FROM clause