Intermediate SQL

Product type
Logo ed2go

Need more information? Get more details on the site of the provider.

Description

About This Course

Expand your knowledge of Structured Query Language (SQL), the industry standard database programming language.

In this course, you'll learn techniques that will enable you to write powerful queries that perform complicated searches and sorts on your data. First, you'll explore how to write and implement complex queries on multiple tables simultaneously and how to apply advanced filtering techniques. You'll learn to create union queries that combine records from multiple queries, and you'll discover how to use union queries to exclude or include duplicate records. In addition, you'll find out how to use text strings within union queries.

Next, you'll master advanced techniqu…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Didn't find what you were looking for? See also: SQL & MySQL, PL/SQL, Programming (general), IT Security, and Web Accessibility.

About This Course

Expand your knowledge of Structured Query Language (SQL), the industry standard database programming language.

In this course, you'll learn techniques that will enable you to write powerful queries that perform complicated searches and sorts on your data. First, you'll explore how to write and implement complex queries on multiple tables simultaneously and how to apply advanced filtering techniques. You'll learn to create union queries that combine records from multiple queries, and you'll discover how to use union queries to exclude or include duplicate records. In addition, you'll find out how to use text strings within union queries.

Next, you'll master advanced techniques for updating various types of data stored in your tables. You'll learn how to update a single field, multiple fields, multiple records, date fields, and calculated fields. And you'll see how to update and set NULL values using an update statement.

In addition, you'll use advanced insertion techniques to add data to your tables and learn how to create, query, and modify temporary tables. You'll also see how to implement techniques to handle duplicate values stored in a table and how to limit the results of a result set. And finally, you'll discover how to use string functions to perform complicated searches on strings, how to implement date and time functions to insert and extract portions of a date, and how to create queries that accept input from users.

By the end of this course, you'll be able to use a wide range of advanced SQL techniques with confidence. Your new skills with databases will enhance your competitiveness in the technical fields of software development and database administration.

About The Instructor

This course includes a knowledgeable and caring instructor who will guide you through your lessons, facilitate discussions, and answer your questions. The instructor for this course will be Cecelia Allison.

Cecelia Allison is an experienced software tester and technical specialist with more than 15 years of hands-on experience using and teaching SQL. She is also a technical writer, a published author, and a university instructor. She holds a Bachelor of Science in Finance and a Master of Science in Computer Information Systems.

Syllabus

A new section of each course starts monthly. If enrolling in a series of two or more courses, please be sure to space the start date for each course at least two months apart.

Week 1

Wednesday - Lesson 01

In our first lesson, we'll discuss the importance of Structured Query Language (SQL) and why it's used in conjunction with databases. We'll do a quick review of some of the basic concepts of the SQL language, including commonly used keywords, SQL data types, constraints, logical operators, and comparison operators. We'll also go over running queries in the SQL Design View and SQL View interfaces of Microsoft Access.

Friday - Lesson 02

In this lesson, you’ll discover how to query multiple tables using subqueries. You’ll learn about the different types of subqueries and how subqueries are processed. You'll find out how to create nested subqueries, subqueries linked by comparison operators, and subqueries that are linked through the following powerful keywords IN, NOT IN, EXISTS, ANY, SOME, ALL.

Week 2

Wednesday - Lesson 03

In this lesson, you'll learn how to use unions to create queries that combine records from multiple queries, enabling you to either exclude or include duplicate records. You also will learn how to order the results from a union query, how to create an alias within a union query, and how to use a text string to display a value in a union query.

Friday - Lesson 04

In this lesson, you'll find out how to use advanced joins to query multiple tables simultaneously. You'll learn to create inner joins and outer joins. You will learn to create joins that contain aggregate functions and joins that are nested. You'll also find out how to create joins using SQL-92 and SQL-89 syntax.

Week 3

Wednesday - Lesson 05

In this lesson, you'll learn how to use advanced update techniques to update data stored in your tables. You'll see how to use the UPDATE and SET keywords in an update statement and how to incorporate a WHERE clause within an update statement. We'll go over how to update single fields and multiple fields and how to update multiple records simultaneously, as well as how to update date fields. I'll also show you how to update columns with calculated fields, and also how to use an update statement to update multiple columns to NULL and how to insert data into NULL columns.

Friday - Lesson 06

In today's lesson, you'll find out how to use advanced insertion techniques to add to your tables. You'll learn how to create conditional and nonconditional insert statements and how to insert records that contain NULL values. We'll also explore how to insert records without the specification of column names and how to insert calculated values into a table. Finally, you'll see how to insert values from functions, how to insert a single record using a conditional insert statement, and how to insert multiple records using a conditional insert statement.

Week 4

Wednesday - Lesson 07

In this lesson, you'll learn advanced filtering techniques that implement the LIKE operator. We'll begin with a review of the LIKE operator and then we'll discuss more advanced LIKE operator queries. You'll learn how to use the percent (%) wildcard with the LIKE operator to compare a value to a string expression and to find a range of values. You'll learn how to use the exclamation mark (!) and the percent (%) sign wildcards with the LIKE operator to match character and digit patterns. You'll learn how to use the bracket ([]) wildcard with the LIKE operator to search for a range of characters and to search for a set of characters. You'll also learn how to use the LIKE operator to search for a combination of characters and digits.

Friday - Lesson 08

In this lesson, you'll see how to create, query, and modify temporary tables. We'll begin with a discussion on the importance of temporary tables and why we use them. Then we'll explore how to create and access temporary tables. You'll learn how to create a temporary table based on a standard table and how to create a temporary table based on a complex join. You'll see how to query a temporary table and how to find the second highest value in a column of a temporary table. You'll also see how to add a column and a datatype to a temporary table. Then we'll explore how to add a default value to a temporary table. Finally, we'll go over how to remove a column from a temporary table and how to delete a temporary table.

Week 5

Wednesday - Lesson 09

In this lesson, you'll learn how to handle duplicate values stored in a table and how to limit the results of a result set. You’ll learn how to implement the DISTINCT keyword against a single field, how to implement the DISTINCT keyword against multiple fields, how to implement the DISTINCT keyword against a subquery, how to implement the DISTINCTROW keyword, how to implement the TOP keyword on a descending order field, how to implement the TOP keyword on an ascending order field, and how to implement the TOP PERCENT keywords.

Friday - Lesson 10

In this lesson, you’ll learn how to use string functions to manipulate strings. You’ll learn how to use the LEFT () and RIGHT () functions to return characters of a string combined with concatenation, how to use the StrConv () function to convert values stored in columns, and how to convert string values typed directly into the StrConv () function. You’ll also learn how to use the LEN () function to count values stored in a column and how to count values typed directly into the LEN () function.

Week 6

Wednesday - Lesson 11

In this lesson, you'll learn how to use the NOW () function to insert the date and time and how to insert a calculated date and time. You'll find out how to use the YEAR () function in a join query to extract the year from a date. And you'll learn how to use the YEAR (), MONTH (), MONTHNAME (), WEEKDAY (), and WEEKDAYNAME () functions to extract the year, month, name of the month, week, and name of the week from a date. You'll also learn how to use the FORMAT () function in a subquery to format dates.

Friday - Lesson 12

In this lesson, you'll learn how to create and implement parameter queries. You'll find out how to create a parameter query with one prompt and how to create a parameter query with two prompts. Then we'll go over how to create a parameter query that prompts the user for a date and how to create a parameter query that prompts the user for two dates. Finally, we'll discuss how to create a parameter query that queries two tables using a join and how to create a parameter query that implements the LIKE operator in a join query.


Requirements

Microsoft Access 2003 or later. You can download a free 60-day trial of Microsoft Access (after you download the trial and open it, do not complete the activation portion within the software until the first day of class) included with Microsoft Office from the Microsoft web site: http://technet.microsoft.com/en-us/evalcenter/jj192782.aspx. Before downloading the Microsoft Access trial, be sure to refer to the system requirements on the site. Depending on your operating system, you may be required to install additional service packs which are available at the Microsoft Download Center: http://www.microsoft.com/downloads/en/default.aspx.

Any Windows Operating System; Internet access, e-mail, the Microsoft Internet Explorer or Mozilla Firefox Web browser, and the Adobe Flash and PDF plug-ins (two free and simple downloads you obtain at http://www.adobe.com/downloads by clicking Get Adobe Flash Player and Get Adobe Reader).

NOTE: this course is not suitable for Macintosh users.

There are no reviews yet.

Share your review

Do you have experience with this seminar? Submit your review and help other people make the right choice. As a thank you for your effort we will donate $1.- to Stichting Edukans.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.