Revision of course For examination purposes. Outline of Examination Question 1 is compulsory and is worth 40%. There are five other questions, of which.

Slides:



Advertisements
Similar presentations
Working with Tables 1 of 5. Working with Tables 2 of 5.
Advertisements

TURKISH STATISTICAL INSTITUTE 1 /34 SQL FUNDEMANTALS (Muscat, Oman)
PL/SQL. Introduction to PL/SQL PL/SQL is the procedure extension to Oracle SQL. It is used to access an Oracle database from various environments (e.g.
SQL*PLUS, PLSQL and SQLLDR Ali Obaidi. SQL Advantages High level – Builds on relational algebra and calculus – Powerful operations – Enables automatic.
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 8 Advanced SQL.
Cross-curricular Assignment Using your case study…
A Guide to Oracle9i1 Advanced SQL And PL/SQL Topics Chapter 9.
Fundamentals, Design, and Implementation, 9/e Chapter 7 Using SQL in Applications.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
1 PL/SQL programming Procedures and Cursors Lecture 1 Akhtar Ali.
Module 5: Data Access. Overview Introduce database components involved in data access Introduce concepts of Transact -SQL and Procedural SQL as tools.
1 Announcements Read 6.7 – 6.10 for Friday Homework 6, due Friday 10/29 Research paper –List of sources - due 10/29 Department Seminar –The Role of Experimentation.
ORACLE ONLINE TRAINING Contact our Support Team : SOFTNSOL India: Skype id : softnsoltrainings id:
Database Management System Lecture 2 Introduction to Database management.
SQL Within PL / SQL Chapter 4. 2 SQL Within PL / SQL SQL Statements DML in PL / SQL Pseudocolums Transaction Control.
Bordoloi and Bock CURSORS. Bordoloi and Bock CURSOR MANIPULATION To process an SQL statement, ORACLE needs to create an area of memory known as the context.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 8 Advanced SQL.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Database Technical Session By: Prof. Adarsh Patel.
Chapter 7 Advanced SQL Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Lecture 4 PL/SQL language. PL/SQL – procedural SQL Allows combining procedural and SQL code PL/SQL code is compiled, including SQL commands PL/SQL code.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
Program with PL/SQL. Interacting with the Oracle Server.
Using Special Operators (LIKE and IN)
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation Exam and Lecture Overview.
CIS4368: Advanced DatabaseSlide # 1 PL/SQL Dr. Peeter KirsSpring, 2003 PL/SQL.
8 1 Chapter 8 Advanced SQL Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 8 Advanced SQL.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Chapter 6 Procedural Language SQL and Advanced SQL Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
COSC 3480 News and Activities Spring COSC 3480 Lab, Christoph F. Eick 2 COSC 3480 Tentative Schedule  Exam1: Tu., Feb. 28, 2006  Exam2: Th., April.
Oracle & SQL Introduction. Database Concepts Revision DB? DBMS? DB Application? Application Programs? DBS? Examples of DBS? Examples of DBMS? 2Oracle.
Database Technology Jing Shen.
Commercial RDBMSs Access and Oracle. Access DBMS Architchecture  Can be used as a standalone system on a single PC: -JET Engine -Microsoft Data Engine.
School of Computing and Management Sciences © Sheffield Hallam University SQL is non-procedural –designed to be relatively approachable to non- programmers.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Introduction to Database Technology course DT228/3 Semester 1.
COSC 3480 Projects, Christoph F. Eick 1 Lab COSC 3480 Fall 2000.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
Database Design And Implementation. Done so far… Started a design of your own data model In Software Engineering, recognised the processes that occur.
Chapter 16 Cursors and Exceptions. Chapter Objectives  Determine when an explicit cursor is required  Declare, open, and close an explicit cursor 
SQL Overview Structured Query Language. Description  When Codd first described the theory of relational databases, he asserted that there should be a.
SqlExam1Review.ppt EXAM - 1. SQL stands for -- Structured Query Language Putting a manual database on a computer ensures? Data is more current Data is.
Chapter 5 : Integrity And Security  Domain Constraints  Referential Integrity  Security  Triggers  Authorization  Authorization in SQL  Views 
implicit and an explicit cursor
Professor: Dr. Shu-Ching Chen TA: Hsin-Yu Ha Function, Trigger used in PosgreSQL.
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
Oracle 10g Database Administrator: Implementation and Administration Chapter 10 Basic Data Management.
Program with PL/SQL Lesson 3. Interacting with the Oracle Server.
DEVRY CIS 336 W EEK 5 G ROUP P ROJECT T ASK 3 Check this A+ tutorial guideline at
Working in the Forms Developer Environment
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
SQL in Oracle.
Database Systems: Design, Implementation, and Management Tenth Edition
Introduction to Triggers
Handling Exceptions.
Latihan Create a separate table with the same structure as the Booking table to hold archive records. Using the INSERT statement, copy the records from.
CIS 336 strCompetitive Success/tutorialrank.com
PL/SQL Scripting in Oracle:
Database Processing: David M. Kroenke’s Chapter Seven:
Database systems Lecture 3 – SQL + CRUD
Contents Preface I Introduction Lesson Objectives I-2
Chapter 7 Using SQL in Applications
Chapter 8 Advanced SQL.
Databases Continued 10/18/05.
Database Systems: Design, Implementation, and Management Tenth Edition
Presentation transcript:

Revision of course For examination purposes

Outline of Examination Question 1 is compulsory and is worth 40%. There are five other questions, of which you must answer 3. Each is worth 20%.

Question 1 Given a description, you are asked to design an ERD and write appropriate CREATE statements to set it up.

Other questions There is one question on data normalisation. The remaining questions involve the practical application of your knowledge of SQL and PL/SQL. –This means that you must know: How to do the queries and programs that you have been asked to do throughout the year. What the practical implications of running those queries / programs will be. –There is an addendum to the examination script that will give you some small amount of syntax.

Topics covered this year Data acquisition and storage Database definition Modelling notation Relational data and Normalisation Top-down and bottom-up data modeling. Relational algebra implementation Aggregation and sub-queries. Tables, views, procedures, functions, packages, sequences, cursors, triggers. Practical application through SQL Server and Oracle database management systems.

Revising for Question 1 Revise the ‘Data Model Notation’ tutorial from Semester 1. Try out the ‘Modeling Entities’ tutorial in Semester 1. Do tutorials 1 to 6 in Semester 1. Go back over your cross-curricular assignment and revise the reasons you came up with the data model that you used. –Did it work well? If so, why? If not, why not?

Revising for the Data Normalisation question Go back over the Normalisation Lectures: –FirstNormalForm.ppt andFirstNormalForm.ppt –L04MoreNormalisation.pptL04MoreNormalisation.ppt –Try the normalisation questions from the old papers (See P: drive) –Try normalising the Wellingtons documents.

Revising for the other questions Read over the lecture notes on database design, structure, features and algebra. Look over the queries that you have implemented. –Try to remember any errors that you got –Why did that error occur? –How did you fix it? –Was it a structural or syntactical error?

Revising for the other questions Look over the programs you have written. –What was their structure? –How were they called? –Was the program resident in the DBMS or did you need to load it each time? –What caused the program to run? –What errors did you encounter? –How did you fix them? –What did you learn from them?

Revising for the other questions There is no need to go back over SQL Server, but you DO need to go back over the queries that you were asked to run in SQL Server. Look at the data manipulation commands: –Insert –Update –Delete What sort of errors can you get? Why? Look at the Select –How does it join tables? How does it pick some rows and not others? How does it eliminate rows? How does it sum / count some fields?

Revision for the other questions What sort of problems require PL/SQL? How is PL/SQL used? Think about step-wise refinement. Are there sequence / selection / iteration commands in it? Do you need to call subroutines? Do you need to lock out others? What is the difference between a script and a PL/SQL block? What does a transaction require?