relpipe-data/examples/relpipe-in-sql-1.sql
author František Kučera <franta-hg@frantovo.cz>
Tue, 11 May 2021 22:26:48 +0200
branchv_0
changeset 326 ab7f333f1225
parent 278 ae17db13569c
permissions -rw-r--r--
relpipe-tr-cut has new syntax since v0.18: --relation, --attribute

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!");