Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Creating B-tree Index | Query optimization.Indexes
Advanced Techniques in SQL
course content

Conteúdo do Curso

Advanced Techniques in SQL

Advanced Techniques in SQL

1. ACID
2. Query optimization.Indexes
3. Some Additional Topics

bookChallenge: Creating B-tree Index

Tarefa
test

Swipe to show code editor

We have considered in the previous chapter that the B-tree index can be created using the following syntax:

Now let's continue working with the BankAccounts table as in the previous chapter. Given that we frequently work with balance ranges when dealing with bank accounts, it would be beneficial to create a B-tree index on the balance column.

Your task is to create a new B-tree index on the balance column of the BankAccounts table. Please ensure that you directly specify a B-tree index and do not rely on the default index:

  • specify balance_index as the name of the index.
  • the index is created for BankAccounts table.
  • the index is created using balance column.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
toggle bottom row

bookChallenge: Creating B-tree Index

Tarefa
test

Swipe to show code editor

We have considered in the previous chapter that the B-tree index can be created using the following syntax:

Now let's continue working with the BankAccounts table as in the previous chapter. Given that we frequently work with balance ranges when dealing with bank accounts, it would be beneficial to create a B-tree index on the balance column.

Your task is to create a new B-tree index on the balance column of the BankAccounts table. Please ensure that you directly specify a B-tree index and do not rely on the default index:

  • specify balance_index as the name of the index.
  • the index is created for BankAccounts table.
  • the index is created using balance column.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
toggle bottom row

bookChallenge: Creating B-tree Index

Tarefa
test

Swipe to show code editor

We have considered in the previous chapter that the B-tree index can be created using the following syntax:

Now let's continue working with the BankAccounts table as in the previous chapter. Given that we frequently work with balance ranges when dealing with bank accounts, it would be beneficial to create a B-tree index on the balance column.

Your task is to create a new B-tree index on the balance column of the BankAccounts table. Please ensure that you directly specify a B-tree index and do not rely on the default index:

  • specify balance_index as the name of the index.
  • the index is created for BankAccounts table.
  • the index is created using balance column.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Tarefa
test

Swipe to show code editor

We have considered in the previous chapter that the B-tree index can be created using the following syntax:

Now let's continue working with the BankAccounts table as in the previous chapter. Given that we frequently work with balance ranges when dealing with bank accounts, it would be beneficial to create a B-tree index on the balance column.

Your task is to create a new B-tree index on the balance column of the BankAccounts table. Please ensure that you directly specify a B-tree index and do not rely on the default index:

  • specify balance_index as the name of the index.
  • the index is created for BankAccounts table.
  • the index is created using balance column.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 3
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt