fork download
  1. CREATE TABLE IF NOT EXISTS stiri (
  2. titlu TEXT PRIMARY KEY, -- Ensures the title is unique
  3. continut_stire TEXT NOT NULL UNIQUE, -- Content cannot be NULL and must be unique
  4. data_publicare INTEGER DEFAULT 1556388672 -- Default UNIX timestamp
  5. );
Success #stdin #stdout 0.01s 5284KB
stdin
INSERT INTO stiri (titlu, continut_stire) VALUES ('News Title 1', 'This is the content of the first news item.');
SELECT * FROM stiri;
stdout
News Title 1|This is the content of the first news item.|1556388672