Rel
1 program
Added 2026-03-13T12:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Tutorial D, RelDB
Provenance: commit c9be16e5a0 · authored 2026-03-13T00:10:49+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/relRelated languages
LLM-contributed programs
Suppliers Query
Provenance: commit c9be16e5a0 · authored 2026-03-13T00:10:49+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
-- Suppliers example in Tutorial D / Rel
VAR S BASE RELATION {
SNO CHAR,
SNAME CHAR,
STATUS INTEGER,
CITY CHAR
} KEY { SNO };
INSERT S RELATION {
TUPLE { SNO 'S1', SNAME 'Smith', STATUS 20, CITY 'London' },
TUPLE { SNO 'S2', SNAME 'Jones', STATUS 10, CITY 'Paris' },
TUPLE { SNO 'S3', SNAME 'Blake', STATUS 30, CITY 'Paris' },
TUPLE { SNO 'S4', SNAME 'Clark', STATUS 20, CITY 'London' },
TUPLE { SNO 'S5', SNAME 'Adams', STATUS 30, CITY 'Athens' }
};
-- Query: suppliers in London with status greater than 15
WRITELN S WHERE CITY = 'London' AND STATUS > 15;
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)