Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn SQL Queries
Rating: 4.4 out of 5(980 ratings)
7,211 students

Learn SQL Queries

Learn about SQL queries quickly. Get up to speed with SELECT, FROM, WHERE, ORDER BY. BONUS: Stored Procedures!
Created byDave Merton
Last updated 12/2017
English
Danish [Auto],English [Auto],

What you'll learn

  • Learn how to INSERT, DELETE, UPDATE and QUERY from tables
  • Learn about many of the useful built in T-SQL functions (SUM, CNT, AVG...)
  • Learn about temp tables and table variables
  • Learn about the power of STORED PROCEDURES

Course content

7 sections67 lectures4h 24m total length
  • Course Description2:26
  • * * SECTION DESCRIPTION * *2:03
  • SELECT *3:29

    Learn how to select from a table using select star to retrieve all fields in schema order, or name and reorder fields, and pick only the ones you need.

  • SELECT COUNT(*)3:05

    Count rows with select count(*) from a table and compare total rows to filtered results with a where clause, naming the count column with an alias.

  • SELECT DISTINCT3:53
  • SELECT ISNULL()4:04
  • SELECT SUM()8:02

    Discover how to use the sum function to total salaries, group results by department, and join employee and department data for meaningful payroll insights.

  • SELECT MAX()2:23

    Learn how to use the max aggregate function to find the highest salary in an employee table, and explore field aliasing and optional square bracket syntax in SQL queries.

  • SELECT MIN()1:13
  • SELECT MAX() and MIN() Example1:44
  • SELECT AVG()1:37

    Explore the average function in sequel server by selecting salaries from the employee table, computing the average as an aggregate function, and naming the result with square brackets.

  • SELECT MAX(), MIN() and AVG() Example2:39
  • Concatenation Example2:58

    Learn how to concatenate first and last names in SQL, using plus signs and spaces, alias the result as name, and cast numbers to text when combining fields.

  • SELECT CASE Example3:48

    Learn how to use the case statement in SQL to label six-figure salaries, select first name, last name, and salary, and populate a notes field with conditional notes.

  • SELECT CASE and Concatenation Example3:25
  • SECTION 1 - REVIEW QUIZ

Requirements

  • The student should have a basic understanding of databases.

Description

This is an in depth course about using and programming with SQL Server. It assumes that the student has at least a rudimentary understanding of database concepts and architecture and gets right into the meat of the subject.

This course will get you up to speed on executing queries. The final part of the course briefly touches on stored procedures and user defined functions.

Who this course is for:

  • Any technical person who wants to have an increased understanding of the real world uses of production database development.