<s>
In	O
databases	B-Application
,	O
a	O
result	B-Application
set	I-Application
is	O
the	O
set	O
of	O
results	O
returned	O
by	O
a	O
query	O
.	O
</s>
<s>
In	O
SQL	O
,	O
it	O
is	O
the	O
result	O
of	O
a	O
SELECT	B-Language
query	O
on	O
a	O
table	B-Application
or	O
view	B-Language
and	O
is	O
itself	O
a	O
non-permanent	O
table	B-Application
of	O
rows	O
,	O
and	O
could	O
include	O
metadata	O
about	O
the	O
query	O
such	O
as	O
the	O
column	B-Application
names	O
,	O
and	O
the	O
types	O
and	O
sizes	O
of	O
each	O
column	B-Application
.	O
</s>
<s>
Depending	O
on	O
the	O
database	B-Application
system	I-Application
,	O
the	O
number	O
of	O
rows	O
in	O
the	O
result	B-Application
set	I-Application
may	O
or	O
may	O
not	O
be	O
known	O
.	O
</s>
<s>
Usually	O
,	O
this	O
number	O
is	O
not	O
known	O
up	O
front	O
because	O
the	O
result	B-Application
set	I-Application
is	O
built	O
on-the-fly	O
.	O
</s>
<s>
A	O
cursor	B-Language
can	O
be	O
used	O
by	O
client	O
applications	O
to	O
fetch	O
a	O
few	O
rows	O
of	O
the	O
result	B-Application
set	I-Application
at	O
a	O
time	O
.	O
</s>
<s>
There	O
is	O
no	O
guarantee	O
that	O
the	O
rows	O
of	O
a	O
result	B-Application
set	I-Application
returned	O
by	O
a	O
SELECT	B-Language
query	O
are	O
in	O
any	O
particular	O
order	O
unless	O
the	O
ORDER	B-Language
BY	I-Language
clause	O
is	O
used	O
in	O
the	O
query	O
,	O
which	O
sorts	O
the	O
rows	O
of	O
the	O
result	B-Application
set	I-Application
in	O
ascending	O
or	O
descending	O
order	O
based	O
on	O
one	O
or	O
more	O
columns	O
.	O
</s>
