In today's competitive environment, information is one of the most important factors in determining the success of an organization. If you are able to manage and retrieve information efficiently, you can streamline the organization's processes and give it a competitive edge. Some data analysis tasks may require that you query multiple tables simultaneously or create complex views of data.
In the course SQL Querying: Fundamentals (Second Edition), you learned the basics of SQL querying. In this course, you will build on this foundation, learning advanced querying techniques, such as writing nested queries, using JOINs to combine data from multiple tables, summarizing query results, using advanced filtering, and using views to simplify repetitive querying tasks. You will also learn how to perform common database administration tasks such as duplicating tables, modifying table structures, inserting, updating, or deleting data, and indexing tables to optimize query performance. You will also learn how to work with multiple tasks as a transaction.
In this course, you will work with advanced queries to manipulate and index tables. You will also create transactions so that you can choose to save or cancel the data entry process.
- Use nested queries to generate query output.
- Manipulate table data by inserting and updating records in a table and deleting records from a table.
- Manipulate table structure.
- Create views, manipulate data through views, modify the view structure, and drop views.
- Create indexes on table columns and drop inefficient indexes.
- Mark the beginning of a transaction, roll back a transaction, and commit a transaction.
Lesson 1: Using Nested Queries
Topic A: Search Based on Values from a Subquery
Topic B: Compare Values from a Subquery
Topic C: Search Based on the Existence of Records
Topic D: Generate Output Using Correlated Subqueries
Topic E: Filter Grouped Data Within Subqueries
Topic F: Perform Multiple-Level Subqueries
Lesson 2: Manipulating Table Data
Topic A: Insert Rows
Topic B: Modify and Delete Data
Lesson 3: Manipulating Table Structure
Topic A: Create a Table
Topic B: Create a Table with Constraints
Topic C: Modify a Table's Structure
Topic D: Delete Tables
Lesson 4: Working with Views
Topic A: Create a View
Topic B: Manipulate Data in Views
Topic C: Modify and Delete Views
Lesson 5: Indexing Data
Topic A: Create Indexes
Topic B: Drop Indexes
Lesson 6: Managing Transactions
Topic A: Define Transactions
Topic B: Commit Transactions
Appendix A: The Pub2 Database
To ensure your success, we recommend you first take the following Logical Operations courses, or have equivalent skills and knowledge:
- SQL Querying: Fundamentals (Second Edition)
Students should have basic computer skills and SQL skills, and be familiar with concepts related to database structure and terminology.