Download Document

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

Tandem Computers wikipedia , lookup

DBase wikipedia , lookup

Concurrency control wikipedia , lookup

Navitaire Inc v Easyjet Airline Co. and BulletProof Technologies, Inc. wikipedia , lookup

Microsoft Access wikipedia , lookup

Relational algebra wikipedia , lookup

Functional Database Model wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Ingres (database) wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Database wikipedia , lookup

Oracle Database wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Null (SQL) wikipedia , lookup

Clusterpoint wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

Database model wikipedia , lookup

Relational model wikipedia , lookup

PL/SQL wikipedia , lookup

Transcript
Applied Science University
Faculty: Information Technology
Department : Computer Information Systems
( Course Syllabus )
CourseTitle
Credit Hours
Course No.
Prerequisite
Year (semester)
Database systems 1
lab.
1
1303346
1303345
2011-2012 (2)
Coordinator Name
Lecturer
Room No.
Dr. Nedhal Al Saiyd
Dr. Nedhal Al Saiyd
Dr. Hashim Jarrar
1310
E-mail
[email protected]
Lec./Lab. Credit
Lecture: 0
Lab : 2
Office Hours
As it is shown in the
schedule on office
door
Course Objectives:
At the completion of the course, students will be able to:
 Understand the concepts and terminology associated with relational databases.
 Run SQL commands in Oracle.
 Create, alter, rename, drop and describe tables.
 Identify and use data types to define columns in SQL tables.
 Explain and use different types of integrity constraints and how to create relationships
between tables.
 How to update data in tables.
 Use different commands for retrieving data with different shapes by using select statement.
 How to use single-table and multiple-table queries.
Course Description:
This Course uses a Structured Query Language or (SQL), which is a popular computer language that is
used by diverse groups such as home computer owners, owners of small businesses, end users in large
organizations and programmers. This course will begin with many concepts about relational databases,
after that it will disscus the Data Definition Language (DDL commands), Data Manipulation Language
(DML commands), and Data Control Language (DCL commands ), then the integrity constraints which
are used with relations and how to retrieve data by using single and multiple-table queries.
Intended Learning Outcomes :
Successful completion of this course should lead to the following learning outcomes :
A- Knowledge and Understanding:
A1) List the basic concepts and terminology associated with relational databases.
A2) List the concept of table, columns and rows in database.
A3) List the role of Structured Query Language.
B- Intellectual Skills:
B1) Select a problem for solving and constructing it with using some concepts.
B2) Show the important of oracle concept and what are the benefits by using it.
B3) Analyze and construct a case study for each group of students to implement the database.
B4) Analyze and compare different techniques for retrieving data from the database.
C) Subject Specific Skills:
C1) Implement solutions for a database on paper before they begin working in SQL.
C2) Implement solutions of any wrong relationship between tables in database.
C3) Learn a specific and new operating system environment, with new language editor.
C4) Learn how to install and manage SQL tool from Oracle.
D) Transferable Skills:
D1) Discuss and work in a group in order to design and implement solutions of several database systems.
D2) Discuss and work in a group in order to study and present a case study of any database system.
1
Course Contents:
Week
Topics
Reference
(chapter)
Topic Details
- Concepts, and usage of SQL.
- Types of SQL: Microsoft SQL server, MYSQL, SQL plus,
Oracle SQL
- ERD, RDB Tables, Table Description, Naming of
columns and tables, defining rows and fields
- Primary and foreign keys
- CHAR, VARCHAR, NUMBER, and DATE, BOOLEAN
data type. Creating, describing, dropping, and renaming
tables, - DEFAULT and NULL values, table Alias
1.
An introduction
to SQL
2
Integrity rule
3
DDL commands
4,5
DDL Commands
ALTER command: adding, dropping, changing the size and
the data type of a column(s)
6
DML commands
- Creating a new table from an existing table
-INSERT, SELECT
7.
Single-Table
queries
- Select using the WHERE clause using the relaltional
operators (=,<>,>,>=,<,<=) ; Order by clause. SELECT
using compound conditions : AND, OR, NOT, NULL,
NOT NULL
Assessment
[1]CH1
[1] CH1
[2] CH2
[1] CH1,
CH8, CH18
[2]CH2
[1] CH1,
CH8, CH18
[2]CH5
[1] CH2,
CH4
[2]CH2
DDL
Commands
Quiz1
Case study
[1] CH8
[2]CH3
MIDTERM
EXAM
8.
- Aggregate functions : SUM, AVG, MIN, MAX, COUNT,
and DISTINCT, using Date values in Insert, Select
9.
Single-Table
queries
10
DML commands
11.
Multiple-Table
queries
Querying multiple tables, joining tables,,Set and JOIN
operation, EQUIJOIN
[1]CH17
[2]CH2
[2]Ch4,
CH8
12.
Multiple-Table
queries
Nested query (Subquery) : using ALL and ANY operators
[2] CH4
13, 14.
Functions with
reports
[2]CH3
15.
Using Indexes
GROUP BY, HAVING, BETWEEN, IN, EXIST, and
LIKE operators
Commit and rollback transactions; Create and Delete an
index by using the CREATE INDEX and the DELETE
INDEX commands
UPDATE, and DELETE commands
FINAL
16.
EXAMINATION
[1]CH8
DML
Commands
Quiz 2
[1]CH18
[2] CH6
W EE K
Course quality improvement : includes


From the market and new subjects in the field.
From the monitoring of students feedback (Evaluation sheet).
Grade Distribution:
Assessment
Grade
Date
- Midterm Exam
40%
- Assignments (reports, quizzes, homeworks, participation, conduct)
20%
- Final Examination
40%
* Make-up exams will be offered for valid reasons. It may be different from regular exams in content and format.
Reading List:
Text Book
[1] Rockoff L., The Language of SQL, course Technology CENGAGE Learning, USA, 2011
[2] Pratt P. J., A Guide to SQL, 7th Ed., Thomson, 2007.
Other
References
[3] SQL Practical Guide for Developers, Michael Donahoo, Gregory Speegle, 2005,
Elsevier Inc [ 005.133 / D674]
2
[4] Rick F. Vander Lans, The SQL Guide to Oracle [006.7565/ L294]
[5] Sql / Introduction-Mastering the relational database language. [CD: 005.74 / V 217]
Last updated on 22 / 2 / 2011 by : Dr. Nedhal Al Saiyd
3