i have a database containing 100 questions . i want to select random 10 from it. how to do that?
there is another database containing 100 questions. questions are stored along with an attribute level.
there are 10 levels. so there are 10 records whose level value is 1
and 10 records whose level value is 2 and so on.. upto 10levels.
now i want to select random 20 questions from those 100, choosing 2
from each level
can any one please tell what are the sql queries for both the questions?