Sunteți pe pagina 1din 7

Tables Used in Additional Practices

Additional practice questions 1-21 use the HR schema. Refer to Appendix B to look at the HR
schema tables. The tables used in the additional practices: case study are described below.
Note: These table do not exist by default. You will be creating them in the case study practice
questions.
TITLE
#* id
* title
* description
o rating
o category
o release date
TITLE_COPY
#* id
* status
RENTAL
#* book date
o act ret date
o exp ret date
MEMBER
#* id
* last name
o first name
o address
o city
o phone
* join date
RESERVATION
#* res date
for
the subject
of
available as
a copy
the subject of
made against
responsible
for
created
for
responsible
for
set up for
Oracle Database 10g: SQL Fundamentals I Additional Practices Tables - 2
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited
RESERVATION Table
DESCRIBE reservation
Oracle Database 10g: SQL Fundamentals I Additional Practices Tables - 3
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited
MEMBER Table
DESCRIBE member
Oracle Database 10g: SQL Fundamentals I Additional Practices Tables - 4
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited
TITLE Table
DESCRIBE title
Oracle Database 10g: SQL Fundamentals I Additional Practices Tables - 5
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited
TITLE_COPY Table
DESCRIBE title_copy
Oracle Database 10g: SQL Fundamentals I Additional Practices Tables - 6
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited
RENTAL Table
DESCRIBE rental
Oracle Database 10g: SQL Fundamentals I Additional Practices Tables - 7
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited
S
A
I

P
R
A
S
A
D

(
s
t
y
l
i
s
h
s
a
i
4
0
@
g
m
a
i
l

c
o
m
)

h
a
s

a

n
o
n
-
t
r
a
n
s
f
e
r
a
b
l
e
l
i
c
e
n
s
e

t
o

u
s
e

t
h
i
s

S
t
u
d
e
n
t

G
u
i
d
e

U
n
a
u
t
h
o
r
i
z
e
d

r
e
p
r
o
d
u
c
t
i
o
n

o
r

d
i
s
t
r
i
b
u
t
i
o
n

p
r
o
h
i
b
i
t
e
d
.

C
o
p
y
r
i
g
h
t


2
0
1
0
,

O
r
a
c
l
e

a
n
d
/
o
r

i
t
s

a
f
f
i
l
i
a
t
e
s
.
SQL Star International Limited

S-ar putea să vă placă și