Professional Documents
Culture Documents
Signature of student:-
This is to certify that AASHISH GUPTA of BBA (2nd Semester) has
successfully completed the practical file in the specified period of
time.
They have given full justice to the work that was assigned to him.
We wish him all the best for the future endeavours.
1 Intoduction to DBMS
EMPLOYEE
DEPARTMENTS
show one query using design view and other making use
of wizard
Explain the use of Report in a DBMS and give steps for creating a
“REPORT” from the employee table through report wizard ?
What is database?
A database is an integrated and logically coherent collection of
related records and files. Where each data element is with
some inherent meaning to facilitate rapid updating of individual
records,concurrent updating of related records, easy access to
all records by all application programs, generating routine or
special purpose reports.
What is database management system?
A database management system is a collection of programs that
enables users to create and maintain a database. Defining a
database involves specifying the data types, structures, and
constraints for the data to be stored in a database. It is a set of
programs that enables storing, modifying, and extracting
information from a database, it also provides users to add,
delete, access, modify, and analyse data stored in Database.
Examples : Access and FoxPro from Microsoft, Oracle,
Informix, Lotus Approach, etc.
2. FUNCTIONS PERFORMED BY DBMS :
1. Data Definition :
The DBMS provides functions to define the structure of the data
in the application. These include defining and modifying the
record structure, the type and size of fields and the various
constraints to be satisfied by the data in each field.
2. Data Manipulation :
Once the data structure is defined, data needs to be inserted,
modified or deleted. The functions which perform these
operations are also part of the DBMS.
3. ADVANTAGES OF DBMS :
2. Data Consistency :
Reduces data redundancy leads to better data consistency
because data duplication is not there while using database
approach.
3. Data Integrity :
Integrity means prevention of unauthorised modification of
information. Since related data is stored in one single database,
enforcing data integrity is much easier.
5. Reduced Maintenance :
Due to the centralizes nature of the system, maintenance cost
of DBMS is less and easy.
9. Improved Security :
Database security is the protection of database from
unauthorized users. The database administrator (DBA)
ensures that proper access procedure is followed, including
proper authentication schemes for access to the DBMS and
additional checks before permitting access to sensitive data.
DISADVANTAGES OF DBMS :
1. Increased Complexity :
A multi-user DBMS becomes an extremely complex piece
of software due to expected functionality from it.
7. Organizational Conflict :
A centralized and shared database requires a consensus on
data definitions and ownership as well as responsibilities for
accurate data maintenance. As per past history and
experience, sometimes there are conflicts on data
definitions, data formats and coding, rights to update shared
data, and associated issues, which are frequent and often
difficult to resolve.
EMPLOYEE TABLE :
DEPARTMENT TABLE :
PROJECT TABLE :
DEPARTMENT LOCATION TABLE :
QUERIES :
RELATIONSHIP BETWEEN 2 TABLES :
TABLE THROUGH DESIGN VIEW :
SQL VIEW :
TABLE THROUGH QUERY WIZARD :
SQL VIEW :
QUERY OF EMPLOYEES HAVING SALARY “GREAtER
than 60,000 :
Sql view
QUERY OF EMPLOYEES HAVING SALARY “LESS tHAN
60,000 :
Sql view :
QUERY TO FIND NAME & SALARY OF EMPLOYEES
STARTING WITH LETTER r :
SQL VIEW :
SQL VIEW :
NO. OF EMPLOYEES IN SALES DEPARTMENT AND
THEIR AVERAGE SALARY :
Sql view :
CHANGE NAME OF HR tO ‘HUMAN RESOURCE’ :
Introduction of form object :
A form is a database object that you can use to create a user interface for
a database application. A "bound" form is one that is directly connected to
a data source such as a table or query, and can be used to enter, edit, or
display data from that data source. Alternatively, you can create an
"unbound" form that does not link directly to a data source, but which still
contains command buttons, labels, or other controls that you need to
operate your application.
STEP 3 : After the second step, a no. of option will come in the
form of process. After the selection of one of the options, then click
on next.
STEP 4 : After third step we will finalise from the options and
then click on finish. The form page will occur.
INTRODUCTION OF REPORT :
Parameter Query
In Microsoft Access, a parameter query works with other types of queries to
get whatever results you are after. This is because, when using this type of
query, you are able to pass a parameter to a different query, such as an action
or a select query. It can either be a value or a condition and will essentially tell
the other query specifically what you want it to do.
It is often chosen because it allows for a dialog box where the end user can
enter whatever parameter value they wish each time the query is run. The
parameter query is just a modified select query.
Aggregate Query
A special type of query is known as an aggregate query. It can work on other
queries (such as selection, action or parameter) just like the parameter query
does, but instead of passing a parameter to another query it totals up the items
by selected groups.
It essentially creates a summation of any selected attribute in your table. This
can be further generated into statistical amounts such as averages and
standard deviation, just to name a couple.