EXAM 1 NEXT TUESDAY…. EXAMPLE QUESTIONS 1.Why is the notion of a “state” important in relational database technology? What does it refer to? 2.What do.

Slides:



Advertisements
Similar presentations
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Advertisements

Basic SQL Introduction Presented by: Madhuri Bhogadi.
Copyright © 2004 Pearson Education, Inc.. Chapter 9 More SQL: Assertions, Views, and Programming Techniques.
By César Urdaneta.  Purpose ◦ Replicate records from different tables (for inserting / updating record), from a source database to a target one, keeping.
Management Information Systems, Sixth Edition
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
Summary. Chapter 9 – Triggers Integrity constraints Enforcing IC with different techniques –Keys –Foreign keys –Attribute-based constraints –Schema-based.
CSC 2720 Building Web Applications Database and SQL.
Some Introductory Programming 1. Structured Query Language - used for queries. - a standard database product. 2. Visual Basic for Applications - use of.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
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.
Bags, foreign keys, selects, joins, and yes, btw, SVN 2/18/2014.
Announcements Read JDBC Project Step 5, due Monday.
MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.
Database Technical Session By: Prof. Adarsh Patel.
Chapter 7 Advanced SQL Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
8 1 Chapter 8 Advanced SQL Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
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.
CSE 3330 Database Concepts Stored Procedures. How to create a user CREATE USER.. GRANT PRIVILEGE.
Structured Query Language Chris Nelson CS 157B Spring 2008.
CSc340 1b1 The Relational Model Chapter 2 Database Schema Keys Schema Diagrams Relational Query Languages Relational Operations.
8 1 Chapter 8 Advanced SQL Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Programming in R SQL in R. Running SQL in R In this session I will show you how to: Run basic SQL commands within R.
Component 4: Introduction to Information and Computer Science Unit 6a Databases and SQL.
Information Building and Retrieval Using MySQL Track 3 : Basic Course in Database.
Stored Procedures. Definition a stored procedure is a set of Structured Query Language (SQL) statements with an assigned name that's stored in the database.
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.
COSC 3480 Projects, Christoph F. Eick 1 Lab COSC 3480 Fall 2000.
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
Enterprise manager Using the Enterprise manager. Purpose of the Enterprise Manager To design tables To populate / update tables To draw diagrams of tables.
Backing Up and Restoring Databases by Using the SQL Server 2000.
SE305 Database System Technology 25/09/2014 Quiz-1.
Jennifer Widom Relational Databases The Relational Model.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
SQL SERVER AUDITING. Jean Joseph DBA/Consultant Contact Info: Blog:
Chapter 7 SQL HUANG XUEHUA. Chapter Objectives Specification of more general constraints via assertions SQL facilities for defining views (virtual.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
7.5 Using Stored-Procedure and Triggers NAME MATRIC NUM GROUP Muhammad Azwan Bin Khairul Anwar CS2305A Muhammad Faiz Bin Badrol Shah CS2305B.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
10/3/2017.
Fundamental of Database Systems
CS320 Web and Internet Programming SQL and MySQL
Database Mysql Hayk Avdalyan.
Web Technologies IT230 Dr Mohamed Habib.
Database Systems: Design, Implementation, and Management Tenth Edition
Views, Stored Procedures, Functions, and Triggers
MS Access Database Connection
CS122B: Projects in Databases and Web Applications Spring 2017
CS122B: Projects in Databases and Web Applications Winter 2017
Database.
Relational Databases The Relational Model.
Relational Databases The Relational Model.
Chapter 8 Advanced SQL Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Processing: David M. Kroenke’s Chapter Seven:
SQL Queries Chapter No 3.
CS122B: Projects in Databases and Web Applications Winter 2018
Chapter 8 Advanced SQL.
CS3220 Web and Internet Programming SQL and MySQL
Information Management
CS122B: Projects in Databases and Web Applications Spring 2018
Database Systems: Design, Implementation, and Management Tenth Edition
MIS2502: Data Analytics MySQL and MySQL Workbench
CS3220 Web and Internet Programming SQL and MySQL
CS122B: Projects in Databases and Web Applications Winter 2019
CS4540 Special Topics in Web Development SQL and MS SQL
Presentation transcript:

EXAM 1 NEXT TUESDAY…

EXAMPLE QUESTIONS 1.Why is the notion of a “state” important in relational database technology? What does it refer to? 2.What do we mean by the “impedance mismatch” between SQL and most “host” programming languages like C++, Java, and C#? 3.What are the main components of a trigger and what purpose do they serve in the trigger? Write a trigger. 4.Why is it problematic to allow the direct updating of a view table? 5.Why might we keep stored procedures on the same server as the relational database? 6.Translate the following algegraic query into SQL.

CONTINUED… 7. What is an outer join? Write an example of one. Draw the two tables you are basing it on. 8. Why do we call SQL a tuple calculus? 9. What is in the MySQL Information Schema (it’s actually a database)? 10. What command or commands does SQL have in it to facilitate the initial loading of a database? 11. What is a stored procedure? 12. What is the “INTO” keyword in SQL used for? 13. What is an “event” in SQL?