I have a Table, "Quotes", that is structured
qDate, qTicker, qHi
4/20/2015, goog, 540.93
4/19/2015, goog, 539.30
4/18/2015, goog, 537.10
....
3/19/2014, goog, 539.30
3/18/2014, goog, 537.10
I would like to run a query that returns the qHi of "goog" BETWEEN a given start date and 10 days forward.
I have, which gives me syntax error.
so it would return the MAX value of column qHi between 2/10/2014 and 2/20/2014.
qDate, qTicker, qHi
4/20/2015, goog, 540.93
4/19/2015, goog, 539.30
4/18/2015, goog, 537.10
....
3/19/2014, goog, 539.30
3/18/2014, goog, 537.10
I would like to run a query that returns the qHi of "goog" BETWEEN a given start date and 10 days forward.
I have, which gives me syntax error.
Code:
Select DistinctRow Max(Quotes.qHi)
From Quotes
Where ((Quotes.qTicker)= "goog" and
Where Quotes.qDate Between 2/10/2014 AND DateAdd("d", 2/10/2014, 10));
so it would return the MAX value of column qHi between 2/10/2014 and 2/20/2014.