 CƠ SỞ DỮ LIỆU ORACLE 11G: GIỚI THIỆU VÀO SQL - RELEASE 2 1. Giới thiệu: Trong khóa học này học sinh tìm hiểu các khái niệm cơ sở dữ liệu quan hệ. Khóa học này cung cấp các kỹ năng SQL cần thiết cho phép các nhà phát triển để viết các truy vấn đối với bàn duy nhất và nhiều thao tác dữ liệu trong bảng, và tạo các đối tượng cơ sở dữ liệu. Học sinh học cách kiểm soát đặc quyền tại các đối tượng và mức độ của hệ thống. Khóa học này bao gồm việc tạo chỉ mục và khó khăn, đối tượng và thay đổi sơ đồ hiện có. Học sinh cũng tìm hiểu làm thế nào để tạo và các bảng bên ngoài câu truy vấn. Học sinh học cách sử dụng các tính năng nâng cao của SQL để truy vấn và thao tác dữ liệu trong cơ sở dữ liệu, sử dụng xem từ điển để lấy siêu dữ liệu và tạo các báo cáo về các đối tượng lược đồ của họ. Học sinh cũng tìm hiểu một số ngày trong thời gian chức năng có sẵn trong cơ sở dữ liệu Oracle. Khóa học này bàn về cách sử dụng các hỗ trợ biểu thức chính quy trong SQL. Khóa học này là sự kết hợp của Oracle Database 11g: SQL Fundamentals I và Oracle Database 11g: SQL Fundamentals II các khóa học. Trong khóa học này, học sinh sử dụng Oracle SQL Developer là công cụ phát triển chính. SQL * Plus là có sẵn như là một công cụ phát triển tùy chọn. Điều này là thích hợp cho một đối tượng quá 10g. Có một vài thay đổi nhỏ giữa 10g và 11g các tính năng. 2. Đối tượng: - Nhà phát triển
- Nhà phát triển ứng dụng
- Nhà phát triển PL/SQL
- Nhà phát triển định dạng
- Phân tích hệ thống
- Phân tích kinh doanh
- Nhà quản trị kho dữ liệu
3. Các yêu cầu: Yêu cầu đòi hỏi: - Quen với các khái niệm tiến trình dữ liệu và kỹ thuật
- Tiến trình dữ liệu
4. Mục tiêu khóa học: - Tuyển dụng SQL chức năng để tạo ra và lấy dữ liệu tùy biến
- Hiển thị dữ liệu từ nhiều bảng bằng cách sử dụng cú pháp SQL ANSI 99 JOIN
- Xác định cơ cấu thành phần chính của cơ sở dữ liệu Oracle 11g
- Tạo báo cáo dữ liệu tổng hợp
- Viết câu SELECT đó bao gồm các truy vấn
- Retrieve hàng và cột dữ liệu từ các bảng với các lệnh SELECT
- Khởi câu thao tác dữ liệu (DML) để cập nhật dữ liệu trong cơ sở dữ liệu Oracle 11g
- Tạo bảng để lưu trữ dữ liệu
- Sử dụng xem để hiển thị và truy xuất dữ liệu
- Kiểm soát cơ sở dữ liệu truy cập vào các đối tượng cụ thể
- Quản lý giản đồ đối tượng
- Quản lý các đối tượng với các cách nhìn từ điển dữ liệu
- Viết nhiều cột phụ truy vấn
- Sử dụng phụ truy vấn vô hướng và tương quan
- Sử dụng các hỗ trợ biểu thức chính quy trong SQL
- Tạo báo cáo dữ liệu được sắp xếp và bị giới hạn
5. Thời lượng: 5 ngày Nội dung ORACLE DATABASE 11G: INTRODUCTION TO SQL Introducing Oracle Database 11g - List the features of Oracle Database 11g
- Discuss the basic design, theoretical and physical aspects of a relational database
- Categorize the different types of SQL statements
- Describe the data set used by the course
- Log onto the database using the SQL Developer environment
- Save queries to files and use script files in SQL Developer
Retrieving Data Using the SQL SELECT Statement - List the capabilities of SQL SELECT statements
- Generate a report of data from the output of a basic SELECT statement
- Select All Columns
- Select Specific Columns
- Use Column Heading Defaults
- Use Arithmetic Operators
- Understand Operator Precedence
- Learn the DESCRIBE command to display the table structure
Restricting and Sorting Data - Write queries that contain a WHERE clause to limit the output retrieved
- List the comparison operators and logical operators that are used in a WHERE clause
- Describe the rules of precedence for comparison and logical operators
- Use character string literals in the WHERE clause
- Write queries that contain an ORDER BY clause sort the output of a SELECT statement
- Sort output in descending and ascending order
Using Single-Row Functions to Customize Output - Describe the differences between single row and multiple row functions
- Manipulate strings with character function in the SELECT and WHERE clauses
- Manipulate numbers with the ROUND, TRUNC and MOD functions
- Perform arithmetic with date data
- Manipulate dates with the date functions
Using Conversion Functions and Conditional Expressions - Describe implicit and explicit data type conversion
- Use the TO_CHAR, TO_NUMBER, and TO_DATE conversion functions
- Nest multiple functions
- Apply the NVL, NULLIF, and COALESCE functions to data
- Use conditional IF THEN ELSE logic in a SELECT statement
Reporting Aggregated Data Using the Group Functions - Use the aggregation functions in SELECT statements to produce meaningful reports
- Create queries that divide the data in groups by using the GROUP BY clause
- Create queries that exclude groups of date by using the HAVING clause
Displaying Data From Multiple Tables Using Joins - Write SELECT statements to access data from more than one table
- View data that generally does not meet a join condition by using outer joins
- Join a table by using a self join
Using Sub-queries to Solve Queries - Describe the types of problem that sub-queries can solve
- Define sub-queries
- List the types of sub-queries
- Write single-row and multiple-row sub-queries
Using the SET Operators - Describe the SET operators
- Use a SET operator to combine multiple queries into a single query
- Control the order of rows returned when using the SET operators
Manipulating Data - Describe each DML statement
- Insert rows into a table with the INSERT statement
- Use the UPDATE statement to change rows in a table
- Delete rows from a table with the DELETE statement
- Save and discard changes with the COMMIT and ROLLBACK statements
- Explain read consistency
Using DDL Statements to Create and Manage Tables - Categorize the main database objects
- Review the table structure
- List the data types available for columns
- Create a simple table
- Decipher how constraints can be created at table creation
- Describe how schema objects work
Creating Other Schema Objects - Create a simple and complex view
- Retrieve data from views
- Create, maintain, and use sequences
- Create and maintain indexes
- Create private and public synonyms
Controlling User Access - Differentiate system privileges from object privileges
- Creating Users
- Granting System Privileges
- Creating and Granting Privileges to a Role
- Changing Your Password
- Granting Object Privileges
- Passing On Your Privileges
- Revoking Object Privileges
Managing Schema Objects - Adding, Modifying and Dropping a Column
- Adding, Dropping and Deferring a Constraint
- Enabling and Disabling a Constraint
- Creating and Removing Indexes
- Creating a Function-Based Index
- Performing Flashback Operations
- Creating an External Table by Using ORACLE_LOADER and by Using ORACLE_DATAPUMP
- Querying External Tables
Managing Objects with Data Dictionary Views - Explain the data dictionary
- Using the Dictionary Views
- USER_OBJECTS and ALL_OBJECTS Views
- Table and Column Information
- Querying the dictionary views for constraint information
- Querying the dictionary views for view, sequence, index and synonym information
- Adding a comment to a table
- Querying the dictionary views for comment information
Manipulating Large Data Sets - Using Subqueries to Manipulate Data
- Retrieving Data Using a Subquery as Source
- Inserting Using a Subquery as a Target
- Using the WITH CHECK OPTION Keyword on DML Statements
- Types of Multitable INSERT Statements
- Using Multitable INSERT Statements
- Merging rows in a table
- Tracking Changes in Data over a period of time
Managing Data in Different Time Zones - Time Zones
- CURRENT_DATE, CURRENT_TIMESTAMP, and LOCALTIMESTAMP
- Comparing Date and Time in a Session’s Time Zone
- DBTIMEZONE and SESSIONTIMEZONE
- Difference between DATE and TIMESTAMP
- INTERVAL Data Types
- Using EXTRACT, TZ_OFFSET and FROM_TZ
- Using TO_TIMESTAMP,TO_YMINTERVAL and TO_DSINTERVAL
Retrieving Data Using Sub-queries - Multiple-Column Subqueries
- Pairwise and Nonpairwise Comparison
- Using Scalar Subquery Expressions
- Solving problems with Correlated Subqueries
- Updating and Deleting Rows Using Correlated Subqueries
- Using the EXISTS and NOT EXISTS operators
- Using the WITH clause
- Using the Recursive WITH clause
Regular Expression Support - Using the Regular Expressions Functions and Conditions in SQL
- Using Meta Characters with Regular Expressions
- Performing a Basic Search using the REGEXP_LIKE function
- Finding patterns using the REGEXP_INSTR function
- Extracting Substrings using the REGEXP_SUBSTR function
- Replacing Patterns Using the REGEXP_REPLACE function
- Using Sub-Expressions with Regular Expression Support
- Using the REGEXP_COUNT function
|