mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibSQL: Add SQL files to assist in troubleshooting
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.
This commit is contained in:
parent
4512e89159
commit
f3a9d61891
6 changed files with 110 additions and 0 deletions
14
Base/home/anon/Documents/sql/select_from_table.sql
Normal file
14
Base/home/anon/Documents/sql/select_from_table.sql
Normal file
|
@ -0,0 +1,14 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue