You are on page 1of 4

INFORMATION TECHNOLOGY PORTFOLIO

BY- ARYAN SHRIVASTAVA (X-B)

DBMS
A database management system is a software
package with computer programs that controls
the creation, maintenance and use of a
database. It allows to develop databases for
various applications.
1. Creating table in a database
There are two ways to create a table in a
database:
i. Create table in a Design View
ii. Use Wizard to Create Table
ACTIVITY (USING DESIGN VIEW)
Create a database for stationery shop with
following items as fields.
Hint: Items, Price, Color, Quantity, Vendor,
Amount
Amount= Price * Quantity
S. Items Price Color Quantity Vendor Amount
No.
1 Copy 50 Yellow 40 Ramesh 2000
2 Ball Pen 40 Blue 46 Suraj 1840
3 Pencil 10 Red 42 Raju 420
4 Gel Pen 80 Green 50 Mahesh 4000
5 Marker 50 Black 48 Danish 2400
6 Fountain 200 Black 43 Harish 8600
7 Eraser 20 White 44 Deepak 880

SOFTWARE- OpenOffice Calc


OBSERVATION- Table is created in the database
and stored. Calculations are done multiplying
price and quantity. Result obtained in the field
Amount= Price * Quantity
2. Retrieve Data using Query:-
Having created the tables and entering data
into them, we will extract some information
from the pool of data. A query helps us join
information from different tables and filter
that information. Filtering means that the
query uses criteria to hide some data and
present only what we want. We use SELECT
statement with clauses like WHERE. Here,
table name is SShop.
SELECT * FROM <TABLENAME>;
SELECT * FROM SShop;
SELECT * FROM SShop WHERE Quantity>50
SELECT * FROM SShop WHERE Items= ‘Pens’
Software- OpenOffice Calc
3. Creating forms using Wizard:-
A form provides the user a systematic way of
storing information into the database. It is an
interface in a user specified layout. It lets
user to view, enter and change data directly
in the database object.
Steps:
1. Create a form for the academic database
containing only Name, Roll No. and Phone.
Populate the table with mark results using the
form.
2. Click on Forms option located under database
section. Click Use Wizard to Create Form…
option under Tasks group. We can select
selective fields to be sent onto the form by
selecting the field name and clicking >button.
Click Next>. Now, we arrange selected fields
then select Style then Click Next. Now, we
select Data Entry Model. Again, click Next>>.
Then, click Finish. A form window appears.
Software- OpenOffice Calc

You might also like