News

Oracle, SQL Server, Postgres, DB2 - the list goes on.<BR><BR>The reality is you have to restructure your query. A CTE isn't necessary, but will likely make the query more readable.
Given a list of GDP figures, which itself is a product of an aggregate function on a data set, you would find the difference year to year and then sum up the differences and divide by 10.