@@ -14,6 +14,22 @@ TutorialD (master/main):
15"master" refers to the name of the branch to which the current transaction will be potentially committing.
15"master" refers to the name of the branch to which the current transaction will be potentially committing.
17+### Date's Sample Relations
19+The examples in this tutorial can be executed after loading Chris Date's sample relations using:
25+Each section assumes a fresh instance of the Date examples. The relation variables created in the script are:
27+|Relation Variable Name|Description|
28+|----------------------|-----------|
31+|sp|contains mapping of which suppliers supply which parts|
19TutorialD is strongly-typed. The basic built-in types are:
35TutorialD is strongly-typed. The basic built-in types are:
@@ -37,7 +53,7 @@ The ```interval``` function last two arguments are boolean values indicating whe
37Project:M36 will complain loudly if the expected types do not match. Automatic type coercion does not exist.
53Project:M36 will complain loudly if the expected types do not match. Automatic type coercion does not exist.
40−TutorialD (master/main): :showexpr S:{more:=add(10,@sname)}
56+TutorialD (master/main): :showexpr s:{more:=add(10,@sname)}
41ERR: AtomFunctionTypeError "add" 2 IntAtomType StringAtomType
57ERR: AtomFunctionTypeError "add" 2 IntAtomType StringAtomType
@@ -68,22 +84,6 @@ Chris Date refers to these relations as "TABLE_DUM" and "TABLE_DEE" but such arb
71−### Date's Sample Relations
73−The examples in this tutorial can be executed after loading Chris Date's sample relations using:
79−Each section assumes a fresh instance of the Date examples. The relation variables created in the script are:
81−|Relation Variable Name|Description|
82−|----------------------|-----------|
85−|sp|contains mapping of which suppliers supply which parts|
87### Relational Expressions
87### Relational Expressions
89A relational expression combines relational operators to create a new relation. ```tutd``` can display the result of executing a relational expression with ":showexpr".
89A relational expression combines relational operators to create a new relation. ```tutd``` can display the result of executing a relational expression with ":showexpr".