SQL browser example: fix typo
Both 'First name' and 'Last name' are two words, therefore the column names should be spelled 'FirstName' and 'LastName'. Fixes: QTBUG-96123 Change-Id: Iaf58442eba0bc5eb63dcde83ecdebdc4a3c658a5 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
05c9894330
commit
f10ec04a6c
@ -141,7 +141,7 @@ void Browser::addConnection()
|
||||
q.exec("insert into Movies values (2, 'Bis ans Ende der Welt', 'Wim Wenders', '6.5')");
|
||||
q.exec("insert into Movies values (3, 'Hardware', 'Richard Stanley', '5.2')");
|
||||
q.exec("insert into Movies values (4, 'Mitchell', 'Andrew V. McLaglen', '2.1')");
|
||||
q.exec("create table Names (id integer primary key, Firstname varchar, Lastname varchar, City varchar)");
|
||||
q.exec("create table Names (id integer primary key, FirstName varchar, LastName varchar, City varchar)");
|
||||
q.exec("insert into Names values (0, 'Sala', 'Palmer', 'Morristown')");
|
||||
q.exec("insert into Names values (1, 'Christopher', 'Walker', 'Morristown')");
|
||||
q.exec("insert into Names values (2, 'Donald', 'Duck', 'Andeby')");
|
||||
|
Loading…
x
Reference in New Issue
Block a user