Course Description
The ability to write SQL is an essential job skill for those who need to manage large volumes of data, produce reports, mine data, or combine data from multiple sources. Even if someone else on your team creates reports for you, having a fundamental understanding of the fundamentals of SQL querying will help you ask the right questions and know what you're looking for in your data analysis tools. Organizations use large SQL databases to store information about clients, products, or sales. However, that data is locked into those databases until it is accessed by a business intelligence tool such as Power BI, Tableau or Crystal Reports. With the proper permissions, analysts can use SQL to select the data they need for additional analysis and reporting. This class, SQL - Fundamentals of Querying, provides an overview of the SQL commands that can be used to access that data.
Objectives
Upon successful completion of the SQL - Fundamentals of Querying Training course, you will be able to:
• Connect to the SQL Server database and execute a simple query
• Include a search condition in a simple query
• Use various functions to perform calculations on data
• Organize data obtained from a query before it is displayed on-screen
• Retrieve data from tables
• Format an output, save a result, and generate a report
Agenda
Lesson 1: Executing a Simple Query
Topic 1A: Connect to the SQL Database
Topic 1B: Query the Database
Topic 1C: Save a Query
Topic 1D: Modify a Query
Topic 1E: Execute a Saved Query
Lesson 2: Performing a Conditional Search
Topic 2A: Search Using a Simple Condition
Topic 2B: Compare Column Values
Topic 2C: Search Using Multiple Conditions
Topic 2D: Search for a Range of Values and Null Values
Topic 2E: Retrieve Data Based on Patterns
Lesson 3: Working with Functions
Topic 3A: Perform Date Calculations
Topic 3B: Calculate Data Using Aggregate Functions
Topic 3C: Manipulate String Values
Lesson 4: Organizing Data
Topic 4A: Sort Data
Topic 4B: Rank Data
Topic 4C: Group Data
Topic 4D: Filter Grouped Data
Topic 4E: Summarize Grouped Data
Topic 4F: Use PIVOT and UNPIVOT Operators
Lesson 5: Retrieving Data from Tables
Topic 5A: Combine Results of Two Queries
Topic 5B: Compare the Results of Two Queries
Topic 5C: Retrieve Data by Joining Tables
Topic 5D: Check for Unmatched Records
Topic 5E: Retrieve Information from a Single Table Using Joins
Lesson 6: Presenting Query Results
Topic 6A: Save the Query Result
Topic 6B: Generate an XML Report
Appendix A: The OGCBooks Database