Thread: query help
View Single Post
  #22 (permalink)  
Old 08-09-10, 00:10
sakitram sakitram is offline
Registered User
 
Join Date: Aug 2010
Posts: 13
Quote:
Originally Posted by r937 View Post
when a query is used in the FROM clause, as a subquery, it is known as an inline view or derived table, because you can think of the results it produces as thought they were a table
ah!! that's the trick to use that I never used in my experience..

Quote:
Originally Posted by r937 View Post
now, as a result of the join, you can show the value for t.sales_amount, and you are now sure that it is the correct amount for the latest date
prepared the final query and it's working fine..

thanks for your patience on me..
Reply With Quote