From baca17f09692638917bd6f2f480f15be83bf9881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Restivo?= Date: Fri, 18 Oct 2024 12:07:05 +0100 Subject: [PATCH] [fix] fixed code not fitting the window in indexes slides --- markdown/indexes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/markdown/indexes.md b/markdown/indexes.md index a8ca03f..cad55e0 100644 --- a/markdown/indexes.md +++ b/markdown/indexes.md @@ -589,7 +589,8 @@ SELECT * FROM employees WHERE type <> 'normal'; Another possible use for partial indexes is to enforce constraints in a subset of the table: ```sql -CREATE UNIQUE INDEX idx_mail ON employees (mail) WHERE type <> 'admin'; +CREATE UNIQUE INDEX idx_mail ON employees (mail) + WHERE type <> 'admin'; ``` ---