{"id":58845,"date":"2025-06-26T12:49:10","date_gmt":"2025-06-26T12:49:10","guid":{"rendered":"https:\/\/ctraining.co.il\/?post_type=course&#038;p=58845"},"modified":"2025-07-01T10:39:24","modified_gmt":"2025-07-01T10:39:24","slug":"querying-data-with-transact-sql-course","status":"publish","type":"course","link":"https:\/\/ctraining.co.il\/en\/course\/querying-data-with-transact-sql-course\/","title":{"rendered":"Querying Data with Transact-SQL Course"},"content":{"rendered":"<h2 dir=\"ltr\">About This Course<\/h2>\n<p dir=\"ltr\">This course introduces students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge for other courses in the SQL Server curriculum<\/p>\n<h2 dir=\"ltr\">Audience Profile<\/h2>\n<p dir=\"ltr\">The main purpose of the course is to give students a good understanding of the Transact-SQL language which is used by all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. As such, the primary target audience for this course is: Database Administrators, Database Developers and BI professionals.<\/p>\n<h2 dir=\"ltr\">Course Outline<\/h2>\n<p dir=\"ltr\"><strong>Module 1: Introduction to Microsoft SQL Server 2016<\/strong><\/p>\n<p dir=\"ltr\">This module introduces SQL Server, the versions of SQL Server, including cloud versions, and how to connect to SQL Server using SQL Server Management Studio.<\/p>\n<p dir=\"ltr\"><strong>\u00a0Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>The Basic Architecture of SQL Server<\/li>\n<li>SQL Server Editions and Versions<\/li>\n<li>Getting Started with SQL Server Management Studio<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 2: Introduction to T-SQL Querying<\/strong><\/p>\n<p dir=\"ltr\">This module describes the elements of T-SQL and their role in writing queries. Describe the use of sets in SQL Server. Describe the use of predicate logic in SQL Server. Describe the logical order of operations in SELECT statements.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Introducing T-SQL<\/li>\n<li>Understanding Sets<\/li>\n<li>Understanding Predicate Logic<\/li>\n<li>Understanding the Logical Order of Operations in SELECT statements<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 3: Writing SELECT Queries<\/strong><\/p>\n<p dir=\"ltr\">This module introduces the fundamentals of the SELECT statement, focusing on queries against a single table.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Writing Simple SELECT Statements<\/li>\n<li>Eliminating Duplicates with DISTINCT<\/li>\n<li>Using Column and Table Aliases<\/li>\n<li>Writing Simple CASE Expressions<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 4: Querying Multiple Tables<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to write queries that combine data from multiple sources in Microsoft SQL Server 2016<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Understanding Joins<\/li>\n<li>Querying with Inner Joins<\/li>\n<li>Querying with Outer Joins<\/li>\n<li>Querying with Cross Joins and Self Joins<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 5: Sorting and Filtering Data<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to implement sorting and filtering<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Sorting Data<\/li>\n<li>Filtering Data with Predicates<\/li>\n<li>Filtering Data with TOP and OFFSET-FETCH<\/li>\n<li>Working with Unknown Values<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 6: Working with SQL Server 2016 Data Types<\/strong><\/p>\n<p dir=\"ltr\">This module introduces the data types SQL Server uses to store data<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Introducing SQL Server 2016 Data Types<\/li>\n<li>Working with Character Data<\/li>\n<li>Working with Date and Time Data<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 7: Using DML to Modify Data<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to create DML queries, and why you would want to<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Inserting Data<\/li>\n<li>Modifying and Deleting Data<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 8: Using Built-In Functions<\/strong><\/p>\n<p dir=\"ltr\">This module introduces some of the many built in functions in SQL Server 2016.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Writing Queries with Built-In Functions<\/li>\n<li>Using Conversion Functions<\/li>\n<li>Using Logical Functions<\/li>\n<li>Using Functions to Work with NULL<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 9: Grouping and Aggregating Data<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to use aggregate functions<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Using Aggregate Functions<\/li>\n<li>Using the GROUP BY Clause<\/li>\n<li>Filtering Groups with HAVING<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 10: Using Subqueries<\/strong><\/p>\n<p dir=\"ltr\">This module describes several types of subquery and how and when to use them.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Writing Self-Contained Subqueries<\/li>\n<li>Writing Correlated Subqueries<\/li>\n<li>Using the EXISTS Predicate with Subqueries<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 11: Using Table Expressions<\/strong><\/p>\n<p dir=\"ltr\">Previously in this course, you learned about using subqueries as an expression that returned results to an outer calling query. Like subqueries, table expressions are query expressions, but table expressions extend this idea by allowing you to name them and to work with their results as you would work with data in any valid relational table. Microsoft SQL Server 2016 supports four types of table expressions: derived tables, common table expression (CTEs), views, and inline table-valued functions (TVFs). In this module, you will learn to work with these forms of table expressions and learn how to use them to help create a modular approach to writing queries.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Using Views<\/li>\n<li>Using Inline Table-Valued Functions<\/li>\n<li>Using Derived Tables<\/li>\n<li>Using Common Table Expressions<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 12: Using Set Operators<\/strong><\/p>\n<p dir=\"ltr\">This module introduces how to use the set operators UNION, INTERSECT, and EXCEPT to compare rows between two input sets.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Writing Queries with the UNION operator<\/li>\n<li>Using EXCEPT and INTERSECT<\/li>\n<li>Using APPLY<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 13: Using Windows Ranking, Offset, and Aggregate Functions<\/strong><\/p>\n<p dir=\"ltr\">This module describes the benefits to using window functions. Restrict window functions to rows defined in an OVER clause, including partitions and frames. Write queries that use window functions to operate on a window of rows and return ranking, aggregation, and offset comparison results.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Creating Windows with OVER<\/li>\n<\/ul>\n<ul dir=\"ltr\">\n<li>Exploring Window Functions<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 14: Pivoting and Grouping Sets<\/strong><\/p>\n<p dir=\"ltr\">This module describes write queries that pivot and unpivot result sets. Write queries that specify multiple groupings with grouping sets.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Writing Queries with PIVOT and UNPIVOT<\/li>\n<\/ul>\n<ul dir=\"ltr\">\n<li>Working with Grouping Sets<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 15: Executing Stored Procedures<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to return results by executing stored procedures. Pass parameters to procedures. Create simple stored procedures that encapsulate a SELECT statement. Construct and execute dynamic SQL with EXEC and sp_executesql.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Querying Data with Stored Procedures<\/li>\n<li>Passing Parameters to Stored procedures<\/li>\n<li>Creating Simple Stored Procedures<\/li>\n<\/ul>\n<ul dir=\"ltr\">\n<li>Working with Dynamic SQL<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 16: Programming with T-SQL<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to enhance your T-SQL code with programming elements.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>T-SQL Programming Elements<\/li>\n<li>Controlling Program Flow<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 17: Implementing Error Handling<\/strong><\/p>\n<p dir=\"ltr\">This module introduces error handling for T-SQL.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Implementing T-SQL error handling<\/li>\n<li>Implementing structured exception handling<\/li>\n<\/ul>\n<p dir=\"ltr\"><strong>Module 18: Implementing Transactions<\/strong><\/p>\n<p dir=\"ltr\">This module describes how to implement transactions.<\/p>\n<p dir=\"ltr\"><strong>Lesson<\/strong><\/p>\n<ul dir=\"ltr\">\n<li>Transactions and the database engines<\/li>\n<li>Controlling transactions<\/li>\n<\/ul>\n<h2 dir=\"ltr\">Prerequisites<\/h2>\n<p dir=\"ltr\">Before attending this course, students should have:<\/p>\n<ul dir=\"ltr\">\n<li>Basic knowledge of the Microsoft Windows operating system and its core functionality.<\/li>\n<\/ul>\n<p dir=\"ltr\">Working knowledge of relational databases.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About This Course This course introduces students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge for other courses in the SQL Server curriculum Audience Profile The main purpose of the course is to give students a good understanding [&hellip;]<\/p>\n","protected":false},"featured_media":58880,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false},"tags":[5597,5596,5595,4293],"coursetype":[5581],"product":[],"audience":[],"class_list":["post-58845","course","type-course","status-publish","has-post-thumbnail","hentry","tag-20761-en","tag-m20761c-en","tag-querying-data-with-transact-sql-en","tag-sql","coursetype-sql-courses"],"acf":[],"_links":{"self":[{"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/course\/58845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/course"}],"about":[{"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/types\/course"}],"version-history":[{"count":0,"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/course\/58845\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/media\/58880"}],"wp:attachment":[{"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/media?parent=58845"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/tags?post=58845"},{"taxonomy":"coursetype","embeddable":true,"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/coursetype?post=58845"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/product?post=58845"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/ctraining.co.il\/en\/wp-json\/wp\/v2\/audience?post=58845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}