Skip to content

Instantly share code, notes, and snippets.

@knightsamar
Created August 7, 2019 05:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knightsamar/facda8988a35928d3c60c5c4e83a5962 to your computer and use it in GitHub Desktop.
Save knightsamar/facda8988a35928d3c60c5c4e83a5962 to your computer and use it in GitHub Desktop.
Sample data for the the Q4 of Relational Algebra Assignment for CS340
-- this is for the Q4 of Relational Algebra Assignment for CS340
group: PlayerTeamCities
Player = {
id:number, score:number, team_id:number
1, 100, 1
2, 200, 2
3, 99, 1
4, 100, 2
5, 150, 3
6, 400, 4
}
Team = {
id:number, name:string, city_id:number
1, 'Team1', 3
2, 'Team2', 1
3, 'Team3', 4
4, 'Team4', 1
5, 'Team5', 2
6, 'Team6', 1
}
City = {
id:number, name:string
1, 'St Petersburg'
2, 'New York'
3, 'London'
4, 'Ontario'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment