Anda di halaman 1dari 3

stt

E
tn

F
I

F
w
m

o
o

3 g

o .{r

t,
o
=. J (o t/t =
q,

o UI
q,
0.,

,+

o
1

(
J

eo

o
o
J
oJ'
J

o
OOOZN???

g;f iA'l :! r

fAd'fafsa" aa;,io{usu
l

lltr0 t:.it

NNNNNNNNNLJ

>>>>>>>'>;;

tlUlrr&r*.e .*:O:*6*o

tu

),.:a:a' u:*lut.*:ru cl*--,-ls


@

EE:*3{ss-Pi3 ii j.i6 X I -:: 9qq "l!99..{. 3 3x 3H3 3.

;Q-liI?TrarF<

6o!!!b6aL! @69o!ooAi^ o6D(ossoi.

118

PART

I o coNcEPTUAL

FouNDATroNs oF AccouNTrNG TNFoRMATToN sysrEMs

TABLE

4-5 set of Relational

Tables

for Storing s&s sales Data


i= trl
'SE

l!

5ate
1fr1 101 rn/rehn*e ;. -,,^r, ro/tslzcr: : euck r*? 1,el15lr&15'5.r(nighr r&i 18/z8lrsrs s. Kniglit 1s4 t*/3Li?015.j. Eurk rc5 1U14/2015 -. Eu,rk

t . .. ,+l

--..t wLt

'ffilSNtl.et'fu $,at*ti.v,

*:

i:J

t81

b*
:,u;
1S:
3W

zu

5*
:Ll+
'L*&
z,ft

tu

t3,

t*
*

{-- ---- ---- -

1 1 .:: :

&I&*w\t*ry .':.t g:Nr'*.:

tJnr;
t,P

Fl 73 lpigg . ile:c.,ptton .
49U.Vr:A.*\rr4i8t.1

?*
&t3

&9?

Fr*erer

a94:F:*{iif.*rdt**
?gg Penge

W3 ?Aivr{}',;tiw.e
l{r
:

i: {c(4i.r

*. i

,t

,'::.:

'{.,:. ?.i:: 21:},a1 .

.5s;

l)X tt*gt*xi*-r

, .:t ,t.,'e.retin rtetA1' "": sL*'g*1rit;'.^g;;;;"'::;


232 ,', i\ir.&*
232 ,-{.n:.* L13 F - F,tsbr*rtt
E t* r bl ,::'
l

5trFet
&*Z Elifl3t

{:

rt}

:.

: ::.:.

si?:ai.t*. :,

:.:

Za&**tx1,L.*t1,9 Ph{}e*ix.

W*]'lel{&&i3e& *&sLa

&7
e,7-

i*:
,*bi*1*

\it/*V

{h&rn,**{
ri: i

ti:!

CHAPTER
LCSS.

RELATIONAL DATABASES

129

the

lies
roth

for

item number price quantity on hand quantity sold shipping address


terms

Required
a. Identify three potential users and design
a subschema for each. Justify your design by explaining why each user needs access to the subschema data elements. Use Microsoft Access or some other relational database product to create the schema tables. Specify the primary key(s), foreign key(s), and other data for each table. Test your model by entering sample data in each table.

b'

42. Most DBMS packages contain data definition, data manipulation, and data query lan-

b. The controller requests a cost accounting report containing a list of all employees being paid for more than l0 hours of overtime in a given week. c. A programmer develops a program to update the fixed-assets records stored in the
database.

guages. For each of the following, indicate which language would be used and why. a. A database administrator defines the logical structure ofthe database.

d. The human resources manager requests a report noting all employees who
within five years.

are retiring

recognition of additional inventory items with serial numbers containing more than l0 digits. f. A user develops a program to print out all purchases made during the past two weeks. g. An additional field is added to the fixed-asset records to record the estimated salvage value of each asset.

e. The inventory serial number field is extended in the inventory records to allow for

{3.

Ashton wants to store the following data about s&S's purchases of inventory: item number date of purchase
vendor number vendor address vendor name purchase price quantity purchased employee number employee name purchase order number

description quantity on hand


extended amount

total amount of purchase

Required
a set of relational tables to store this data. Do all of the data items need to be stored in a table? If not, which ones do not need to be stored, and why do they not need to be stored? b. Identify the primary-key-for each table. -_5 c. Identify the foreign keys needed in the tables to implement referential integrity. d. Implement your fa6les usffi-g any relational database product to which you have access.

a. Design

e. Test your specification by entering sample data in each table. f. Create a few queries to retrieve or analyze the data you stored.

Anda mungkin juga menyukai