relpipe-data/examples/relpipe-in-sql-1.sql
author František Kučera <franta-hg@frantovo.cz>
Wed, 30 Oct 2019 18:05:46 +0100
branchv_0
changeset 282 ec02133045a3
parent 278 ae17db13569c
permissions -rw-r--r--
Release v0.14 – SQL, AWK, Bash completion, GPLv3

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