DBMS CW
DBMS CW
Ans:
Database:
A database is a collection of logically related data items Stored in
an organised manner.
The information being stored in a database can be added, modified,
deleted or displayed according to the requirements of the user.
Data redundancy:
In the event of requiring the same data field in several tables the
data field might get repeated in number of tables. This is called as data
redundancy. This can be reduced by using DBMS tools.
Report:
The output of a query may be displayed in the form of reports. The
usual result of the query is in the form of rows and columns. But if we
want the report to be formal and in proper layout, then we can use the
Reports feature of RDBMS.
Ans:
(a)Data and Information:
Data Information
1. Differentiate between:
(a) Memo and Varchar data type
(b) Number and Decimal data type
(c) Design View and Datasheet view of a table
Ans:
(a) Memo and Varchar are data types used in database management
systems. Memo is specific to Microsoft Access and stores alphanumeric
data up to about one gigabyte. Varchar is used in SQL databases and
can store alphanumeric data up to a defined limit, usually 255
characters.
(b) The Number and Decimal data types both store numerical data, but
Decimal data type includes decimal places, making it ideal for financial
calculations or any calculation requiring precision. Number data type,
on the other hand, is used to store integers or whole numbers.
(c)The Design View and Datasheet View of a table present different
ways of looking at the same data. The Datasheet view allows you to see
the data in rows and columns, similar to a spreadsheet. The Design
view, however, allows you to see and modify the structure of your table
and to set field properties.
Step 2: From the tool bar click Sort Descending icon if the table
has to be sorted in descending order of selected field. The table will be
sorted in the descending order