mirror of
https://github.com/chaisql/chai.git
synced 2025-09-26 19:51:21 +08:00
15 lines
381 B
SQL
15 lines
381 B
SQL
-- test: undeclared column
|
|
CREATE TABLE test (a int primary key);
|
|
CREATE INDEX test_b_idx ON test(b);
|
|
-- error:
|
|
|
|
-- test: undeclared column: IF NOT EXISTS
|
|
CREATE TABLE test (a int primary key);
|
|
CREATE INDEX IF NOT EXISTS test_b_idx ON test(b);
|
|
-- error:
|
|
|
|
-- test: undeclared column: other columns
|
|
CREATE TABLE test(b int primary key);
|
|
CREATE INDEX test_a_idx ON test(a);
|
|
-- error:
|