SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE TABLE test_table ( test_id SERIAL PRIMARY KEY, test_string VARCHAR(255) NOT NULL, test_account_id INTEGER NOT NULL ); CREATE UNIQUE INDEX idx_test_table_on_account_id_and_string ON test_table (test_account_id, test_string); INSERT INTO test_table (test_id, test_string, test_account_id) VALUES (1, 'a', 1); SELECT 1 FROM test_table WHERE test_account_id = 1 AND test_string = repeat('<', 65536);

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear