Lecture Database design, application development and administration - Chapter 4: Query formulation with SQL

Chapter 4 - Query formulation with SQL. Chapter 3 provided a foundation for using relational databases. Most importantly, you learned about connections among tables and fundamental operators to extract useful data. This chapter shows you how to apply this knowledge in using the data manipulation statements of SQL. | Chapter 4 Query Formulation with SQL Welcome to Chapter 4 on query formulation with SQL Query formulation is an important skill in application development Everyone involved in the application dev. must be competent in query formulation Most students will be involved (at least initially) in application development rather than in a role as a database specialist. Database specialists must also understand query formulation and SQL. Objectives: - Query formulation: problem statement into a database representation - SELECT statement: syntax and patterns for subset operations, joins, summarization, traditional set operators, and data manipulation operations - Write English descriptions to document SQL statements - Need lots of practice with query formulation and SQL Outline Background Getting started Joining tables Summarizing tables Problem solving guidelines Advanced problems Data manipulation statements Background: - SQL history - SQL usage contexts Getting started: - SQL syntax - Single table problems - Grouping problems Join styles: - Cross product style - Join operator style - Joins and grouping Problem solving guidelines: - Conceptual process - Critical questions Traditional set operators: - Union, intersection, difference - Union compatibility: requirement for using the operators - Data manipulation statements: INSERT, UPDATE, DELETE Include slides on join and traditional set operators: use these if covering relational algebra as part of SQL What is SQL? Structured Query Language Language for database definition, manipulation, and control International standard Standalone and embedded usage Intergalactic database speak Pronunciation: sequel due to its original name Comprehensive database language - Database definition: CREATE TABLE - Manipulation: retrieval and modification of rows - Control: integrity and security constraints Standards: - American National Standards Institute (ANSI), International Standards Organization (ISO) - SQL-86: 1986 (1989 revision to . | Chapter 4 Query Formulation with SQL Welcome to Chapter 4 on query formulation with SQL Query formulation is an important skill in application development Everyone involved in the application dev. must be competent in query formulation Most students will be involved (at least initially) in application development rather than in a role as a database specialist. Database specialists must also understand query formulation and SQL. Objectives: - Query formulation: problem statement into a database representation - SELECT statement: syntax and patterns for subset operations, joins, summarization, traditional set operators, and data manipulation operations - Write English descriptions to document SQL statements - Need lots of practice with query formulation and SQL Outline Background Getting started Joining tables Summarizing tables Problem solving guidelines Advanced problems Data manipulation statements Background: - SQL history - SQL usage contexts Getting started: - SQL syntax - Single

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
21    216    2    30-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.