Квиз по SQL: Indexes

This SQL quiz is about indexes, the main tool for making queries fast. You will decide which queries can use an index, what composite and covering indexes do, and when an index is not worth having.

Средний 10 вопроса ~6 минуты Проходной балл: 80% SQLite

Выберите режим

Вы играете как гость: войдите, чтобы сохранить XP и серию.

Пример вопроса

Вопрос 1 из 10

What does a regular (B-tree) index on a column mainly speed up?

Показать ответ

A. Finding rows by that column in WHERE, JOIN and ORDER BY An index is a sorted structure that lets the database jump to matching rows instead of scanning the whole table, which helps lookups, joins and sorting. It does the opposite for writes, which now have to update the index too.

Что проверяет этот квиз

  • What an index speeds up and what it costs
  • Composite indexes and the leftmost-prefix rule
  • Why functions and leading wildcards block an index
  • Covering indexes and low-cardinality columns
  • Unique indexes and CREATE INDEX syntax

Частые вопросы

Нужен ли аккаунт?

Нет. Играть может любой. Войдите, чтобы сохранять XP, серию, значки и историю.

Можно пройти ещё раз?

Да. Лучший результат сохраняется, а вопросы и ответы каждый раз перемешиваются.