mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 10:35:00 +00:00

These files contain the same SQL statements as the similarly named tests in Tests/LibSQL/TestSqlStatementExecution.cpp test suite. They can be fed to the sql utility to assist in troubleshooting failing tests.
14 lines
317 B
SQL
14 lines
317 B
SQL
CREATE SCHEMA TestSchema;
|
|
CREATE TABLE TestSchema.TestTable
|
|
(
|
|
TextColumn text,
|
|
IntColumn integer
|
|
);
|
|
INSERT INTO TestSchema.TestTable (TextColumn, IntColumn)
|
|
VALUES ('Test_1', 42),
|
|
('Test_3', 44),
|
|
('Test_2', 43),
|
|
('Test_4', 45),
|
|
('Test_5', 46);
|
|
SELECT *
|
|
FROM TestSchema.TestTable;
|