CSCI 4333 Database Design and Implementation – Exercise (1) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539

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

CSCI 4333 Database Design and Implementation Review for Midterm Exam I
Relational Algebra and SQL Exercises
1 Constraints, Triggers and Active Databases Chapter 9.
Relational Algebra Tim Kaddoura CS157A. Introduction  Relational query languages are languages for describing queries on a relational database  Three.
CSCI 3328 Object Oriented Programming in C# Chapter 9: Classes and Objects: A Deeper Look 1 Xiang Lian The University of Texas – Pan American Edinburg,
CSCI 4333 Database Design and Implementation Review for Midterm Exam II Xiang Lian The University of Texas – Pan American Edinburg, TX 78539
1 A Closer Look Underlying Concepts of Databases and Transaction Processing.
1 A Closer Look Chapter 2. 2 Underlying Concepts of Databases and Transaction Processing.
1 The Big Picture of Databases We are particularly interested in relational databases Data is stored in tables.
The University of Texas – Pan American
1 CSE 480: Database Systems Lecture 11: SQL. 2 SQL Query SELECT FROM WHERE –In MySQL, FROM and WHERE clauses are optional –Example:
CSCI 4333 Database Design and Implementation – Exercise (3) Xiang Lian The University of Texas – Pan American Edinburg, TX
CSCI 6307 Foundation of Systems – Exercise (2) Xiang Lian The University of Texas – Pan American Edinburg, TX
1 Chapter 2 The Big Picture. 2 Database Models Hierarchical Model. Network Model. Relational Model. Object/Relational Model. Object-Oriented Model. Semistructured.
CSCI 3328 Object Oriented Programming in C# Chapter 5: C# Control Statement – Part II – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley.
CSCI 3328 Object Oriented Programming in C# Chapter 4: C# Control Statement – Part I 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX.
CSCI 3328 Object Oriented Programming in C# Chapter 8: LINQ and Generic Collections 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX.
CSCI 4333 Database Design and Implementation – Exercise (5) Xiang Lian The University of Texas – Pan American Edinburg, TX
CSCI 3328 Object Oriented Programming in C# Chapter 7: Arrays 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
CSCI 3328 Object Oriented Programming in C# Chapter 9: Classes and Objects: A Deeper Look – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley.
CSCI 3328 Object Oriented Programming in C# Chapter 11: Files and Streams -- Exercises 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
CSCI 3328 Object Oriented Programming in C# Chapter 8: LINQ and Generic Collections – Exercises 1 Xiang Lian The University of Texas – Pan American Edinburg,
CSCI 3328 Object Oriented Programming in C# Chapter 12: Databases and LINQ – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
CSCI 4333 Database Design and Implementation – Exercise (2) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
CSCI 6315 Applied Database Systems Review for Midterm Exam I Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
CSCI 3328 Object Oriented Programming in C# Chapter 6: Methods – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
CSCI 3328 Object Oriented Programming in C# Chapter 4: C# Control Statement – Part I – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley.
CSCI 6307 Foundation of Systems – Exercise (4) Xiang Lian The University of Texas – Pan American Edinburg, TX
1 Chapter 2 The Big Picture. 2 Database Models Hierarchical Model. Network Model. Relational Model. Object/Relational Model. Object-Oriented Model. Semistructured.
CSCI/CMPE 4341 Topic: Programming in Python Chapter 7: Introduction to Object- Oriented Programming in Python – Exercises Xiang Lian The University of.
Chapter 2 The Big Picture. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 2-2 Databases We are particularly interested in relational databases.
CSCI 4333 Database Design and Implementation – Exercise (5)
Databases We are particularly interested in relational databases
CSCI 6315 Applied Database Systems – Exercise (1)
CSCI 3328 Object Oriented Programming in C# Review: Final Exam
The University of Texas – Pan American
The University of Texas – Pan American
SQL Data Modification Statements.
The University of Texas Rio Grande Valley
The University of Texas – Pan American
The University of Texas – Pan American
CSCI 6315 Applied Database Systems – Exercise (3)
Chapter 2 The Big Picture.
CSCI 4333 Database Design and Implementation – Exercise (3)
CSCI 3328 Object Oriented Programming in C# Review: Exam I
The University of Texas – Pan American
The University of Texas – Pan American
The University of Texas – Pan American
CSCI 3328 Object Oriented Programming in C# Review: Exam I
The University of Texas Rio Grande Valley
CSCI 6307 Foundation of Systems – Exercise (3)
CSCI 4333 Database Design and Implementation – Exercise (5)
CSCI 6315 Applied Database Systems – Exercise (4)
The University of Texas – Pan American
The University of Texas – Pan American
CSCI 6307 Foundation of Systems – Exercise (1)
CSCI 3328 Object Oriented Programming in C# Review: Exam II
CSCI 3328 Object Oriented Programming in C# Review: Final Exam
CSCI 4333 Database Design and Implementation – Exercise (4)
The University of Texas – Pan American
CSCI 6315 Applied Database Systems – Exercise (6)
Relational Algebra and SQL Exercises
CSCI 3328 Object Oriented Programming in C# Review: Final Exam
CSCI 4333 Database Design and Implementation – Exercise (4)
The University of Texas – Pan American
CSCI 6315 Applied Database Systems – Exercise (5)
CSCI 3328 Object Oriented Programming in C# Review: Exam II
CSCI 6307 Foundation of Systems – Exercise (5)
CSCI 4333 Database Design and Implementation – Exercise (1)
Presentation transcript:

CSCI 4333 Database Design and Implementation – Exercise (1) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX

SQL Statements IdNameAddressStatus John 123 Mainfreshman Mary456 Cedarsophomore Art77 So. 3rdsenior Pat88 No. 4thjunior 2 Student Table Please Write an SQL statement that – Returns the Ids of all seniors in the table, Student – Deletes all seniors from Student – Promotes all juniors in the table Student to senior

SQL Statements (cont'd) Create an SQL statement that creates the Transcript table – StudId, CrsCode, Semester, Grade 3

4