0% found this document useful (0 votes)
74 views20 pages

Welcome: Presented By:PALAK KAKKAR (302) Poorvi Singhal (303) Year Under The Guidance Of: Mrs. Laxmi Meher

This document provides an introduction to creating and using databases in Microsoft Access. It discusses the key objects in Access including tables, queries, forms, and reports. It provides details on how to create a table, including field names and data types. It also explains how to create queries using criteria to retrieve specific data. The document contains an example of creating a student-teacher database with tables and performing queries on the data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views20 pages

Welcome: Presented By:PALAK KAKKAR (302) Poorvi Singhal (303) Year Under The Guidance Of: Mrs. Laxmi Meher

This document provides an introduction to creating and using databases in Microsoft Access. It discusses the key objects in Access including tables, queries, forms, and reports. It provides details on how to create a table, including field names and data types. It also explains how to create queries using criteria to retrieve specific data. The document contains an example of creating a student-teacher database with tables and performing queries on the data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

WELCOME

Presented By :PALAK KAKKAR(302)


POORVI SINGHAL(303)
B.Com.(Hons.) 2nd Year
Under The Guidance of:
Mrs. LAXMI MEHER
INTRODUCTION

MS access is DBMS (Database Management System)


application package that allows users to enter, access
and analyze the stored data quickly and easily.
CREATING DATABASE
CREATING
VIDEO
DATABASE
• Go to start.
• Click on All Programs.
• Go to Microsoft access.
• Select Blank Database
option.
• Change the default name
by typing in the text box.
• Set the storage location by
clicking on the yellow
folder sign(By default, it is
My Documents).
• Click on create.
There are four main objects in
Access:
TABLES

QUERIES
OBJECTS
FORMS

REPORTS
TABLES
MEANING
• This object allows to create the data tables with their respective
fieldnames, data types and the data properties to store the data.
• Here, rows are referred to as RECORDS and columns are referred to as
FIELDS.

CREATING TABLES
• Click on the ‘Create’ tab.
• Click on ‘Table Design’ in the Tables group.
• This results in providing a table design window which has three columns, Field Name,
Data Type and Description.
Field Name: It refers to the column name of the table being created.

Data Types: MS access supports different data types, these are-


• Text: It is used for a string of characters i.e, words or numbers that are not to be used in arithmetic calculations.
The maximum length for this field is 255 characters.
• Memo: It is used for storing comments and is capable of accomodating 65,536 characters.
• Number: It is meant to store numbers,which could be integers, long integers, bytes, single, double or decimel types.
• Date/Time: It is used to store dates, times or a combination of both.
• Currency: It is used to storing numbers in terms of Dollar, Rupees, or other currencies.
• Auto number: It is a numeric data automatically entered by access.
• Yes/No: It is to declare a logical field which may have only one of the two opposite values alternatively given as: Yes/no.
• OLE Object: OLE stands for Object Linking and Embedding. It refers to an object that could be a photograph, bar code
image or any other document.
• Hyperlink: It is meant to store URL and email addresses in the database.
• Attachment: It is meant to attach images, spreadsheet files, documents, charts. It provides greater flexibility than OLE
objects.
• Lookup Wizard: This data type creates a field that allows the user to choose a value from another table or form or a list
of values using a list box or combo box.

Description: It is optional and provides a brief description of the field name.


QUERY
MEANING
A Query can quickly retrieve and analyze the data by pulling information from one
or more tables based on a set of search conditions that the user defines.

Creating a Query
• Click on Query Design in Query group on Create tab.
• Add the desired tables. If the list of the tables doesn’t appear then right click in the
Object Relation Pane and choose Show Table.
• Either Double click on a field of a table to include that in the query or drag and drop
the field from the table to Field in the Design grid.
• Set the criteria for data retrieval.
• Click on the Run in the results group.
• Save the query.
SYNTAX FOR QUERIES
1.The First Letter: Go to Design Grid and in Criteria, write Like “the Letter*” or “the Letter*”.
2. The Last Letter: Go to Design Grid and in Criteria, write Like “*the Letter”or “*the Letter”.
3.The First and the Last letter: Go to Design Grid and in Criteria, write Like “the first Letter* the
last letter” or “the first letter*the last Letter”.
4.The number of Alphabets: Go to Design Grid and in Criteria, write Like “????..”or “????..”.
5.The first and Last letter and the number of characters: Go to Design Grid and in Criteria, write
Like
“the first Letter???The last letter” or “the first Letter???The last letter”.
6.Negative Query: It is used to exclude some records from displaying with the other records.
Write Not “S*” under criteria in Design Grid.
7.And and Or command: Or command is used when one of the specified conditions needs to be
satisfied while And command is used when both the conditions are required to be satisfied.
8.Queries with “<,> and =” for the numbered field:
more than: “>”, less than: “ <”, equals to: “ =”, more than equals to: “ >=”, less than
equals to: “ <=”
QUESTION
Create the following Student-Teacher database with following tables and perform (a) to (g) Queries on them.
Create a Student table with the following fields
Roll No., Univ. Roll No., First Name, Last Name, Date of Birth, Father’s Name, Course Address, Telephone No., Percentage, Fees
paid(>28000), Category
Create a Teacher Table with the following fields:
Code No., Date of Joining, Name, Address, Telephone No. Department, Salary
Create a Taught Table with the following fields:
Code No. of the Teacher, Roll No. of the Student, Subject
(a) Create a Query consisting of names of all students whose roll no. is greater than 5 and who are born in the span from jan'
97 to july' 01.
(b) Create a Query consisting of Names and Department of all teachers whose
1-Name begin with ‘A'or 'R' or 'S'.
2-Name ends with ‘I’
3-Name begin with ‘R’ and ends with ‘I’
4-5 letters name begin with ‘R’
5-4 letters name
(c) List the student table in the order of their Date of Birth.
(d) Create a Query consisting of Department in which new teachers joined after July's 96
(e) Create a Query consisting of Names of students who are not in general category and whose percentage lies between 50
and 55.
(f) Create a Query consisting of Names and Addresses of students who are taught by teachers who were appointed afte July’
96. Also display the names of teachers. Group the data by names of teachers.
(g) Create a Query consisting of Names and Department of all teachers representing their savings.
SOLUTION
C:\Users\hp\Desktop\CAIB\303\Presentation\PRACTICAL.accdb
FORMS
This object allows to create an appropriate user interface to formally interact with the
tables and the queries.
It allows the users users to enter, modify and view records or data which is stored in
tables.
REPORTS
• This object is used to create reports ,the source of information content of which is based
on tables, queries or both.
• Reports can be customised i.e, are designed according to requirement of the end user.
• It offers the users the ability to present the data stored in tables in print.
For example-fee slips, train tickets, etc.
CONCLUSION
• MS Access is far stronger at handling at handling non numerical data, like names
and descriptions that plays a big role in any database.

• Access is able to sort and analyze the non numerical data also.

• Access is a Relational database management system that is able to understand how


lists and the objects within the database are linked and to relate them to one
another.

• In Access, even complicated tasks can be simplified and made fairly user friendly.
THANK YOU

You might also like