MySQL·Practice drills 2

Drill 5: Summarise — Setup and tools

Summarise the example in one sentence.

Beginner 5 min read Lesson 51 of 300 Challenge included
What you will be able to do
  • Summarise the example in one sentence.

Practice task

Summarise the example in one sentence.

setup.sqlSQL
CREATE DATABASE edubyte CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
USE edubyte;

CREATE TABLE lessons (
  id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
  course_slug VARCHAR(80) NOT NULL,
  title VARCHAR(160) NOT NULL,
  minutes SMALLINT UNSIGNED NOT NULL DEFAULT 10,
  INDEX lessons_course_idx (course_slug)
);

INSERT INTO lessons (course_slug, title, minutes) VALUES ('css', 'Grid', 18);
Your turn

Write your answer

Easy

Summarise the example in one sentence.

TEXT · starter
Your answer…
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Lesson 51 of 300 · 0% of course