SQL101: Introduction to Transact-SQL
Course SQL101: Introduction to Transact-SQL
Course Length: 4 days
Registration: Call 406-256-5700 or email firstname.lastname@example.org
About this Course
in this course, you’ll master the skills needed to write Transact-SQL SELECT statements accessing one or more tables. You’ll also learn the various techniques for combining data, filtering the results and how to control and format the statement output.
You’ll gain a foundation understanding of a SQL Server database and use the tools available to discover the database definition, submit queries and view results.
We teach students how to write a query the same way that SQL Server processes a SQL statement – following a step-by-step process for creating SQL queries from business requirements. This approach uses the natural way of breaking down a problem into logical steps. Each step can be validated before moving to the next step. This differs from most courses, which present SQL as a set of features.
Class lectures highlight and explain Transact-SQL concepts which are reinforced with extensive follow-along demonstrations and hands-on labs.
This course is intended for Business Analysts, System Administrators, Database Administrators and other professionals with no programming or SQL experience. This course is also valuable for anyone who needs to learn how to write just a SELECT statement to access a SQL Server database.
- Ability to work with the Windows operating system
- Windows login, startup of applications and programs, menu and toolbar manipulation skills
- Basic knowledge of the purpose of a database
At Course Completion
- Use the SQL Server Management Studio tool to browse the definition of the databse, find necessary object names, create database diagrams, and exucute a SQL query to return data rows.
- Write a simple SELECT statement, returning all the columns and rows and formulate meaningful join strategy to bring together all necessary data.
- Write a WHERE claue to filter the rows based on equality, a list of values, a range of values and a wildcard character condition.
- Understand the impact on filtering based on implicit data conversions using data type precedence and how to create a proper search argument.
- Control the display of dagta in a SQL SELECT including renaming columns, usng simple expressions with function to change output alues, conditionally change the output values using CASE expressions, sort the result set, eliminate duplicate rows and control the number of rows returned.
- Write Transact-SQL queries that aggregate values across rows based on a group and filter the result set based on aggregated values.
Module 1: Discovering the Database
- Using SQL Server Management Studio (SSMS)
- Identifying table relationships
- SSMS Diagram Support
- Preparing to Write a SQL SELECT
Module 2: Accessing Tables
- The Basic SELECT
- Combining Two Tables with a Join
- Inner Join
- Outer Join
- Combining Multiple Tables with a Join
Module 3: Filtering the Data
- Basic Filtering with WHERE clause
- Equality expressions
- Complex Filtering
- Range and List-based Filtering
- Using Built-in Functions
Module 4: Displaying Data
- Manipulating Numbers and Data Types
- Using Conditional Column Output
- NULL Functions
- CASE Expressions
- Controlling Output Rows
- TOP operator
Module 5: Aggregating Data
- Grouping and Summarizing Data
- Filtering Aggregate