I have a database of words of different levels for tutoring.
I want to get 10 random words of one level as CurrentWords, and another 10 random words (same field as first) of different levels as ReviewWords.
I tried this:
SELECT TOP 10 tblWords.WordName AS CurrentWords, tblWords.WordID
FROM tblWords
WHERE tblWords.Substep="1.4"
UNION
SELECT TOP 10 tblWords.WordName AS ReviewWords, tblWords.WordID
FROM tblWords
WHERE tblWords.Substep="1.3"
ORDER BY Rnd([WordID]);
but it doesn't work.
I can get 10 random words fine for one level only.
Thanks,
Amanda
I want to get 10 random words of one level as CurrentWords, and another 10 random words (same field as first) of different levels as ReviewWords.
I tried this:
SELECT TOP 10 tblWords.WordName AS CurrentWords, tblWords.WordID
FROM tblWords
WHERE tblWords.Substep="1.4"
UNION
SELECT TOP 10 tblWords.WordName AS ReviewWords, tblWords.WordID
FROM tblWords
WHERE tblWords.Substep="1.3"
ORDER BY Rnd([WordID]);
but it doesn't work.
I can get 10 random words fine for one level only.
Thanks,
Amanda