Skip to content

Commit

Permalink
ch02: fix qmlbook#143
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Thelin committed May 12, 2022
1 parent 3973643 commit 3f2d534
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ch02-start/app-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f2d534

Please sign in to comment.