SQL Querying: Advanced
Course Specifications
Course Number: 
094006
Course Length: 
1 day
Course Description
Overview: 
In the course SQL Querying: Fundamentals, you learned the basics of SQL querying. Now that you have a foundation in how to query databases, you will learn in this course how to identify and use advanced querying techniques. In addition, you might find that you need to perform tasks such as modifying the structure of a table; inserting, updating, or deleting data; and indexing tables to optimize query performance. In this course, you will learn how to complete these tasks and more. 
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. As the organization grows, you will need to handle large amounts of data. Under such circumstances, you might need to query multiple tables simultaneously and with increasing frequency. You must step up the speed of generating query output to cope with the increasing demands of data storage, management, and retrieval. 
Course Objectives:
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. 
You will: 
•	Use subqueries to generate query output.
•	Manipulate table data by inserting and updating records in a table and deleting records from a table. 
•	Manipulate the 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. 
Target Student: 
Students should have basic computer skills, SQL skills, and be familiar with concepts related to database structure and terminology. 
Prerequisites: 
To ensure your success, we recommend you first take the following Logical Operations courses, or have equivalent skills and knowledge: 
•	SQL Querying: Fundamentals 
Course-specific Technical Requirements
Hardware
For this course, you will need one computer for each student and one for the instructor. Each computer will need the following minimum hardware configurations: 
•	1 GHz or faster 32-bit (x86) or 64-bit (x64) processor
•	1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
•	16 GB available hard disk space (32-bit) or 20 GB (64-bit)
•	CD-ROM drive
•	Keyboard and mouse (or other pointing device)
•	1024 x 768 resolution monitor recommended
•	Network cards and cabling for local network access
•	Internet access (contact your local network administrator)
•	Printer (optional) or an installed printer driver
•	Projection system to display the instructor's computer screen
Software
•	Microsoft® Windows® 8
•	Microsoft® SQL Server® 2012 Express Edition with Service Pack 1 
•	Microsoft® Silverlight® 
Course Content
Lesson 1: Using Subqueries to Perform Advanced Querying 
Topic A: Search Based on Unknown Values 
Topic B: Compare a Value with Unknown Values 
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 Data 
Topic B: Modify and Delete Data 
Lesson 3: Manipulating the Table Structure 
Topic A: Create a Table 
Topic B: Create a Table with Constraints 
Topic C: Modify a Table's Structure 
Topic D: Back Up Tables 
Topic E: Delete Tables 
Lesson 4: Working with Views 
Topic A: Create a View 
Topic B: Manipulate Data in Views 
Topic C: Create Aliases 
Topic D: Modify and Delete Views 
Lesson 5: Indexing Data 
Topic A: Create Indexes 
Topic B: Drop Indexes 
Lesson 6: Managing Transactions 
Topic A: Create Transactions 
Topic B: Commit Transactions 
Appendix A: The FullerAckerman Database