Last active
March 24, 2024 20:38
-
-
Save smarteist/0d102197f2ef23aa9491b5c898a8c365 to your computer and use it in GitHub Desktop.
This is relax relational algebra calculator example data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group: SUPPLIER PARTS - S, SP, P | |
description: This is a very simple database that is used by ChrisDate & HughDarwen throughout their books (e.g., AnIntroductionToDatabaseSystems & TheThirdManifesto) for examples. | |
P = { | |
pn, pname, color | |
1, 'PN1', 'Red' | |
2, 'PN2', 'Blue' | |
3, 'PN3', 'Yellow' | |
4, 'PN4', 'Green' | |
5, 'PN5', 'Blue' | |
6, 'PN6', 'Black' | |
} | |
S = { | |
sn, sname, city | |
1, 'SN1', 'C1' | |
2, 'SN2', 'C2' | |
3, 'SN3', 'C2' | |
4, 'SN4', 'C1' | |
5, 'SN5', 'C3' | |
6, 'SN6', 'C4' | |
} | |
SP = { | |
sn, pn, qty | |
1, 1, 10 | |
1, 2, 20 | |
1, 3, 10 | |
1, 4, 40 | |
1, 5, 50 | |
1, 6, 50 | |
2, 1, 30 | |
2, 3, 30 | |
3, 6, 50 | |
4, 3, 50 | |
5, 1, 30 | |
5, 2, 80 | |
5, 3, 10 | |
5, 4, 79 | |
5, 5, 50 | |
5, 6, 20 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For me, the worst thing is when something has to do with mathematics. I delegate all my work-related tasks to other people. At the university, I actually asked do my math homework, I found https://edubirdie.com/do-my-math-homework for this. I don’t know how I learned 2 programming languages. This is of course just hard for me.