relpipe-data/examples/relpipe-in-sql-1.sql
author František Kučera <franta-hg@frantovo.cz>
Sat, 11 Jan 2020 20:24:43 +0100
branchv_0
changeset 290 e73765513aec
parent 278 ae17db13569c
permissions -rw-r--r--
fix read_nullbyte() to avoid trimming whitespace

CREATE TABLE a (
	id integer,
	message varchar
);

CREATE VIEW b AS SELECT upper(message) AS msg FROM a;

INSERT INTO a VALUES (1, "Hello,");
INSERT INTO a VALUES (2, "world!");