Professional Documents
Culture Documents
Ashirvad DBMS Project File
Ashirvad DBMS Project File
Ashirvad DBMS Project File
Project File
Ashirvad Kumar
INDEX
Ashirvad Kumar
1.STUDY OF DATABASE
A Database is a collection of related data organised in a way that data
can be easily accessed, managed and updated. Database can be
software based or hardware based, with one sole purpose, storing data.
During early computer days, data was collected and stored on tapes,
which were mostly write-only, which means once data is stored on it, it
can never be read again. They were slow and bulky, and soon computer
scientists realised that they needed a better solution to this problem.
What is DBMS?
A DBMS is a software that allows creation, definition and manipulation of
database, allowing users to store, process and analyse data easily.
DBMS provides us with an interface or a tool, to perform various
operations like creating database, storing data in it, updating data,
creating tables in the database and a lot more.
DBMS also provides protection and security to the databases. It
also maintains data consistency in case of multiple users. Here
are some examples of popular DBMS used these days:
• My SQL
• Oracle
• SQL Server
• IBM DB2
• PostgreSQL
Ashirvad Kumar
Data and Information
Data can be defined as a representation of facts, concepts, or
instructions in a formalized manner, which should be suitable for
communication, interpretation, or processing by human or electronic
machine. Data is represented with the help of characters such as
alphabets (A-Z, a-z), digits (0-9) or special characters (+,-,/,*,<,>,= etc.)
Information
is organized or classified data, which has some meaningful
values for the receiver. Information is the processed data on which decisions
and actions are based.
Datatypes:
Datatypes are the properties of each field. Every field has one datatype like
text, number, date, etc.
TABLE
Ashirvad Kumar
• A Table is an object which stores data in Row & Column format to
store data.
• A Table is usually related to other tables in the database file.
• Each column must have Unique name
• We can also define Primary Key in a table. Query
FORM
Report
A report is an object in desktop databases primarily used for
formatting, calculating, printing, and summarizing selected data.
You can even customize the report's look and feel.
Macros
Macros are mini computer programming constructs. They allow you to set
up commands and processes in your forms, like, searching, moving to
another record, or running a formula.
Modules
Modules are procedure (function) which you can write using Visual Basic for application
(VBA).
Ashirvad Kumar
2.Study of MS-Access Data types
MS Access common data types are listed below: -
Ashirvad Kumar
Files, such as digital photos. Multiple files Up to about 2 GB.
can be attached per record. This data
Attachment
type is not available in earlier versions of
Access.
The Lookup Wizard entry in the Data Dependent on the data type
Type column in the Design view is not of the lookup field.
actually a data type. When you choose
this entry, a wizard starts to help you
define either a simple or complex lookup
Lookup field.
Wizard A simple lookup field uses the contents of
another table or a value list to validate
the contents of a single value per row. A
complex lookup field allows you to store
multiple values of the same data type in
each row.
Ashirvad Kumar
3.Creation of Data Bases in MS-Access
To create a database from a template, we first need to open MS Access and we will
see the following screen in which different Access database templates are displayed.
To view the all the possible databases, we can scroll down or we can also use the
search box.
Ashirvad Kumar
Let us enter project in the search box and press Enter. We will see the database
templates related to project management.Select the first template. We will see more
information related to this template.
After selecting a template related to our requirements, enter names in the FILE
NAME field and we can also specify another location for our file if we want.
Ashirvad Kumar
Now, press the Create option. Access will download that database template and
open a new blank database as shown in the following screenshot .
Now, click the Navigation pane on the left side and we will see all the other objects
come with this
that
database.
Ashirvad Kumar
Click the Projects Navigation and select the Object Type in the menu.
We will now see all the objects types — tables, queries, etc.
Ashirvad Kumar
For Creating Blank Database
Sometimes database requirements can be so specific that using and modifying the
existing templates requires more work than just creating a database from scratch. In
such case, we make use of blank database.
Step 1 − Let us now start by opening MS Access.
Step 2 − Select Blank desktop database. Enter the name and click the Create button
Ashirvad Kumar
Step 3 − Access will create a new blank database and will open up the table which is
also completely blank.
Ashirvad Kumar
5.Study about my SQL
What is SQL?
SQL is Structured Query Language, which is a computer language for
storing, manipulating and retrieving data stored in a relational database.
SQL is the standard language for Relational Database System. All the
Relational
Database Management Systems (RDMS) like MySQL, MS Access, Oracle,
Sybase, Informix, Postgres and SQL Server use SQL as their standard
database language.
RDBMS
▪ RDBMS stands for Relational Database Management System.
▪ RDBMS is the basis for SQL, and for all modern database systems
such as MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft
Access.
▪ The data in RDBMS is stored in database objects called tables. A table
is a collection of related data entries and it consists of columns and
rows.
Ashirvad Kumar
Ashirvad Kumar
5 Luleå S-958 22 Sweden
Berglunds Christina Berguvsvägen
snabbköp Berglund 8
Exmple
SELECT * FROM Customers
WHERE Country='Mexico';
Example
SELECT * FROM Customers WHERE
CustomerID=1;
Ashirvad Kumar
Operator Description
= Equal
<>
Not equal. Note: In some versions of SQL this operator may be
written as !=
Ashirvad Kumar
9.Comparison between My SQL and MS-Access
MS ACCESS MY SQL
MS-Access can use filters to SQL can retrieve the data using
fetch the data. select statemen.
Ashirvad Kumar
Ashirvad Kumar
Ashirvad Kumar
Ashirvad Kumar
Ashirvad Kumar
Ashirvad Kumar
Ashirvad Kumar