Download Introduction to Database Management

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

SQL wikipedia , lookup

Commitment ordering wikipedia , lookup

Global serializability wikipedia , lookup

Relational algebra wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Microsoft Access wikipedia , lookup

Serializability wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Oracle Database wikipedia , lookup

IMDb wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Functional Database Model wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Ingres (database) wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Versant Object Database wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

ContactPoint wikipedia , lookup

Transcript
Introduction to Database
Management
A database is an organized collection
of related information
• Manual Database
– Might be found on top of someone’s desk
– May be difficult to sort
– Manually find the record and physically make changes
• Electronic database
– Might be found in your cell phone
– Sorted easily
– Electronically find the record and enter the new over
the old.
Electronic databases contain at least 1
table
• Tables have columns and rows
– Each column is called a field
• The field name FName has field contents of Jane and
John
– Each row is called a record
• There are 2 records in this table
• All of the information in the first record belongs to Jane
Do
FName
LName
Street
City
State
Zip
Jane
Do
123 Any Street
Here
NM
12345
John
Does
124 Main Street
There
IL
21345
Other examples
• Rolodex on a desk (manual)
• Your contact list in your cell
phone (electronic)
• What database have you
heard discussed often at
school?
– iNow (STI)
iNow
• iNow is the database where teachers
– Post attendance
– Enter grades
• Teachers can only see/enter specific
information according to their user names and
passwords
• When I log in, I see my only MY classes
Here are some possible tables and
fieldnames in iNow
tblStudents
tblClassOffering
StudentID
FirstName
ClassOfferingID
ClassName
tblClassEnrollment
EnrollmentID
StudentID
In this example, these field names could be joined
creating a RELATIONAL DATABASE because the field
contents are the same.
tblStudents
tblClassOffering
StudentID
FirstName
ClassOfferingID
ClassName
tblClassEnrollment
EnrollmentID
StudentID
I could pull out the Student’s name,
the identification numbers of the classes he/she is
enrolled in, and the classes’ names with one QUERY.
tblStudents
tblClassOffering
StudentID
FirstName
ClassOfferingID
ClassName
tblClassEnrollment
EnrollmentID
StudentID
Ah
Queries
• A query is an object in a
database
• To query a database is to
question it (ask a question)
• Query a database to pull out
specific information
Report
• A report is another Database Object
• A database report may be nicely formatted for
printing
• A report can be generated from
– A table
• In alphabetically order by any chosen field
– A query
• With only specific fields showing
• With all fields showing
• In any order specified
In Summary
• Databases contain:
– At least 1 table
• Fields (column titles)
• Field contents (columns)
• Records (rows)
– Queries (possibly)
– Reports (possibly)
• The Database Management System you will
work with in BTA is MS Office Access 2007