GaBuZoMeu/SQL/SQLite/insert-test.sql
Stephane Bortzmeyer c881cde89c * More documentation
* Database creation scripts
2023-06-09 09:21:21 +02:00

13 lines
634 B
SQL

INSERT INTO Languages (id, code, added) VALUES (NULL, 'en', '2007-01-24');
INSERT INTO Descriptions (description) VALUES ('English');
INSERT INTO Descriptions_languages (description, lang)
SELECT max(rowid), 'en' FROM Descriptions;
INSERT INTO Languages (id, code, added) VALUES (NULL, 'fr', '2007-01-24');
INSERT INTO Descriptions (description) VALUES ('French');
INSERT INTO Descriptions_languages (description, lang)
SELECT max(rowid), 'fr' FROM Descriptions;
INSERT INTO Descriptions (description) VALUES ('Francais');
INSERT INTO Descriptions_languages (description, lang)
SELECT max(rowid), 'fr' FROM Descriptions;