You are on page 1of 2

DATABASE MANAGEMENT 1. Create a database file call BOOKS. 2. Design a table with the following fields.

Save the table as BLIST. FIELD N !" TITL" &'IC" DATA TYPE Te#t Te#t C(rrenc) SIZE 1$ %$

%. "nter the following infor*ation in BLIST NAME !iller Linton 1rancis 2( Carter !iller Carson !cCl(r.in 0. TITLE "#cel 2+++ Thin.ing Big ccess 2+++ for 1ools Co*3(ter Science for Toda) 2ord !ade 5er) Si*3le 2ord 6&77 The Big &ict(re Co*3(ter Technolog) PRICE 1+,.-$ /0.$+ 12$.1/ 1,-.41 2+.21 -$.++ $0.,$ 212.$/

33end the following record8 2at.ins Co*3(ter rchitect(re 211./$

$. Delete record with (thor 9 Linton /. !odif) val(e in &'IC" field to 2+2.21 in record with 6T:O' 9 Carter. 4. 6sing the table 3erfor* the following ;(eries. a< &rod(ce a list of all the boo.s written b) !iller. Save as =(er)1 b< List all the boo.s for which the 3rice is *ore that >2++.++. Save as =(er)2 c< 2ho wrote the boo. The Big &ict(re? Save as =(er)% -. &rod(ce a re3ort containing those records for which the &'IC" is less than >2++.++. The re3ort *(st contain onl) 6T:O' and TITL". Store the re3ort in a file '"&. ,. Create a database file@ ST6D with the following fields8 S6'N !" 1I'ST A" 1 !ILB 1+ te#t 1+ te#t N(*ber N(*ber

1+. "nter the following data in ST6D LI B'O2N D NI"L C CKSON K: N ! ' C T:O! S 1 '""D LLISON D ''BL !IC: "L C 5"D S6NIL CO:N 11.+ 11.$ 11.11.2 11.0 11.$ 11.0 % / $ % 4 0

11. Sort the table on the S6'N !" field in al3habetical order. 12. "#it ccess.

You might also like