Pular para o conteúdo principal
InícioSQLImproving Query Performance in SQL Server

Improving Query Performance in SQL Server

In this course, students will learn to write queries that are both efficient and easy to read and understand.

Comece O Curso Gratuitamente
4 horas16 vídeos58 exercícios
21.278 aprendizesTrophyDeclaração de Realização

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.
GroupTreinar 2 ou mais pessoas?Experimente o DataCamp For Business

Amado por alunos de milhares de empresas


Descrição do Curso

A mission critical assignment is depending on your SQL coding skills. You’ve been given some code to fix. It is giving the results you need but it’s running too slow, and it’s poorly formatted making it hard to read. The deadline is tomorrow. You’ll need to reformat the code and try different methods to improve performance. The pressure is on!!! In this course we’ll be using SQL on real world datasets, from sports and geoscience, to look at good coding practices and different ways how we can can improve the performance of queries to achieve the same outcome.
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados
Experimente O DataCamp for BusinessPara uma solução sob medida , agende uma demonstração.

Nas seguintes faixas

SQL Server Developer

Ir para a trilha

SQL Server para administradores de banco de dados

Ir para a trilha
  1. 1

    Introduction, Review and The Order of Things

    Gratuito

    In this chapter, students will learn how SQL code formatting, commenting, and aliasing is used to make queries easy to read and understand. Students will also be introduced to query processing order in the database versus the order of the SQL syntax in a query.

    Reproduzir Capítulo Agora
    Introduction
    50 xp
    Formatting - player BMI
    100 xp
    Commenting - player BMI
    100 xp
    Commenting - how many Kiwis in the NBA?
    100 xp
    Aliasing
    50 xp
    Ambiguous column names
    50 xp
    Aliasing - team BMI
    100 xp
    Query order
    50 xp
    Processing order
    50 xp
    Syntax order - New Zealand earthquakes
    100 xp
    Syntax order - Japan earthquakes
    100 xp
    Syntax order - very large earthquakes
    100 xp
  2. 2

    Filtering and Data Interrogation

    This chapter introduces filtering with WHERE and HAVING and some best practices for how (and how not) to use these keywords. Next, it explains the methods used to interrogate data and the effects these may have on performance. Finally, the chapter goes over the roles of DISTINCT() and UNION in removing duplicates and their potential effects on performance.

    Reproduzir Capítulo Agora
  3. 3

    Sub-queries and presence or absence

    This chapter is an introduction to sub-queries and their potential impacts on query performance. It also examines the different methods used to determine if the data in one table is present, or absent, in a related table.

    Reproduzir Capítulo Agora
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados

Nas seguintes faixas

SQL Server Developer

Ir para a trilha

SQL Server para administradores de banco de dados

Ir para a trilha

conjuntos de dados

Orders datasetNBAPlayers datasetNBATeams datasetNBAPlayersStatistics dataset

colaboradores

Collaborator's avatar
Mona Khalil
Collaborator's avatar
Becca Robins
Collaborator's avatar
Marianna Lamnina
Dean Smith HeadshotDean Smith

Founder, Atamai Analytics

Ver Mais

O que os outros alunos têm a dizer?

Junte-se a mais de 14 milhões de alunos e comece Improving Query Performance in SQL Server hoje mesmo!

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.