Does anyone know why the following code doesn't run in Access?
SELECT a FROM (SELECT a FROM b WHERE c=1);
I know it doesn't make a lot of sense, but its the basis for what I have to do.I have one SELECT statement producing the results that I need, however, I now need to find a mins and maxs of all my datapoints in the columns reported back by the first query.We have it in two seperate queries right now, but we need to compile them into one. Nested SELECTS don't seem to work the way one would expect.My results always are:
"Syntax error in FROM clause."
SELECT a FROM (SELECT a FROM b WHERE c=1);
I know it doesn't make a lot of sense, but its the basis for what I have to do.I have one SELECT statement producing the results that I need, however, I now need to find a mins and maxs of all my datapoints in the columns reported back by the first query.We have it in two seperate queries right now, but we need to compile them into one. Nested SELECTS don't seem to work the way one would expect.My results always are:
"Syntax error in FROM clause."