From 3f2d534f8fdf2cff6f982fbf763c9f3af38d7c39 Mon Sep 17 00:00:00 2001 From: Johan Thelin Date: Thu, 12 May 2022 20:42:20 +0200 Subject: [PATCH] ch02: fix #143 --- docs/ch02-start/app-types.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ch02-start/app-types.md b/docs/ch02-start/app-types.md index 05e22f28..6564c71f 100644 --- a/docs/ch02-start/app-types.md +++ b/docs/ch02-start/app-types.md @@ -304,9 +304,9 @@ Another popular way to store and retrieve data is SQL. Qt comes with SQLite embe ```sql CREATE TABLE city (name TEXT, country TEXT); -INSERT INTO city value ("Munich", "Germany"); -INSERT INTO city value ("Paris", "France"); -INSERT INTO city value ("London", "United Kingdom"); +INSERT INTO city VALUES ("Munich", "Germany"); +INSERT INTO city VALUES ("Paris", "France"); +INSERT INTO city VALUES ("London", "United Kingdom"); ``` To use SQL, we need to add the SQL module to our .pro file