View (SQL): Difference between revisions

Content deleted Content added
WmLGann (talk | contribs)
m Equivalency: changed "Ie" to "For example", fixed a typo, changed "Ie" to "i.e."
Line 24:
 
== Equivalency ==
A view is equivalent to its source query. When queries are run against views, the query is modified. IeFor example, if there exists a view named Accounts_view and the content is
<pre>
accounts view:
Line 62:
FROM table_customers c JOIN accounts_table a
ON a.customerid = c.customer_id )</pre>
From this point on the optimiser takes the query, removes unnecessary complexity (Iei.e. it is not necessary to read the address, since the parent invocation doesedoes not make use of it) and then sends the query to the sqlSQL engine for processing.
 
==External links==