<s>
Data	B-Application
retrieval	I-Application
means	O
obtaining	O
data	O
from	O
a	O
database	B-Application
management	I-Application
system	I-Application
(	O
DBMS	O
)	O
,	O
like	O
for	O
example	O
an	O
object-oriented	B-Application
database	I-Application
(	O
ODBMS	B-Application
)	O
.	O
</s>
<s>
In	O
this	O
case	O
,	O
it	O
is	O
considered	O
that	O
data	O
is	O
represented	O
in	O
a	O
structured	B-General_Concept
way	O
,	O
and	O
there	O
is	O
no	O
ambiguity	O
in	O
data	O
.	O
</s>
<s>
In	O
order	O
to	O
retrieve	O
the	O
desired	O
data	O
the	O
user	O
presents	O
a	O
set	O
of	O
criteria	O
by	O
a	O
query	B-Library
.	O
</s>
<s>
Then	O
the	O
database	B-Application
management	I-Application
system	I-Application
selects	O
the	O
demanded	O
data	O
from	O
the	O
database	O
.	O
</s>
<s>
A	O
query	B-Language
language	I-Language
,	O
like	O
for	O
example	O
Structured	B-Language
Query	I-Language
Language	I-Language
(	O
SQL	B-Language
)	O
,	O
is	O
used	O
to	O
prepare	O
the	O
queries	B-Library
.	O
</s>
<s>
SQL	B-Language
is	O
an	O
American	O
National	O
Standards	O
Institute	O
(	O
ANSI	O
)	O
standardized	O
query	B-Language
language	I-Language
developed	O
specifically	O
to	O
write	O
database	B-Application
queries	I-Application
.	O
</s>
<s>
Each	O
database	B-Application
management	I-Application
system	I-Application
may	O
have	O
its	O
own	O
language	O
,	O
but	O
most	O
are	O
relational	O
.	O
</s>
<s>
Reports	O
and	O
queries	B-Library
are	O
the	O
two	O
primary	O
forms	O
of	O
the	O
retrieved	O
data	O
from	O
a	O
database	O
.	O
</s>
<s>
There	O
are	O
some	O
overlaps	O
between	O
them	O
,	O
but	O
queries	B-Library
generally	O
select	O
a	O
relatively	O
small	O
portion	O
of	O
the	O
database	O
,	O
while	O
reports	O
show	O
larger	O
amounts	O
of	O
data	O
.	O
</s>
<s>
Queries	B-Library
also	O
present	O
the	O
data	O
in	O
a	O
standard	O
format	O
and	O
usually	O
display	O
it	O
on	O
the	O
monitor	O
;	O
whereas	O
reports	O
allow	O
formatting	O
of	O
the	O
output	O
however	O
you	O
like	O
and	O
is	O
normally	O
printed	O
.	O
</s>
<s>
Reports	O
are	O
designed	O
using	O
a	O
report	B-General_Concept
generator	I-General_Concept
built	O
into	O
the	O
database	B-Application
management	I-Application
system	I-Application
.	O
</s>
