Skip to content

Instantly share code, notes, and snippets.

View hamzahmhmmd's full-sized avatar

Hamzah Muhammad hamzahmhmmd

View GitHub Profile
@hamzahmhmmd
hamzahmhmmd / indonesia hex map.geojson
Last active September 23, 2021 12:22
Indonesia tile hex map visualizations, format: geojson, works on: metabase
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamzahmhmmd
hamzahmhmmd / Library
Last active September 25, 2019 10:41 — forked from garydh/Library.relax
group: UIBK - R, S, T
description: Tables from and for the lecture [Databases: Foundations, Data Models and System Concepts - University of Innsbruck](http://dbis-informatik.uibk.ac.at/249-0-VO-Datenbanksysteme.html) chapter 3
Librarian = {
staff_id, first_name, last_name, address
1, 'Albert', 'Camus', 'Boulevard des Capucines 9'
2, 'Jean-Paul', 'Sartre', 'Rue du Vin 71'
3, 'Søren', 'Kierkegaard', 'Aabye Street 33'
4, 'Niccolo', 'Machiavelli', 'Rua da Roma 99'
group: OT
Customers = {
customer_id:number,name:string,address:string,credit_limit:number,website:string
1,'Raytheon','514 W Superior St, Kokomo, IN',100,'http://www.raytheon.com'
2,'Plains GP Holdings','2515 Bloyd Ave, Indianapolis, IN',100,'http://www.plainsallamerican.com'
3,'US Foods Holding','8768 N State Rd 37, Bloomington, IN',100,'http://www.usfoods.com'
4,'AbbVie','6445 Bay Harbor Ln, Indianapolis, IN',100,'http://www.abbvie.com'
5,'Centene','4019 W 3Rd St, Bloomington, IN',100,'http://www.centene.com'
6,'Community Health Systems','1608 Portage Ave, South Bend, IN',100,'http://www.chs.net'
7,'Alcoa','23943 Us Highway 33, Elkhart, IN',100,'http://www.alcoa.com'
/*
DreamHome data set terdiri dari tujuh relation, diantaranya Branch, Staff, PropertyForRent, Client, PrivateOwner, Viewing, dan Registration. Branch adalah relation yang berisi data setiap branch DreamHome, terdiri dari BranchNo, dan lokasi branch tersebut. Staff merupakan relation yang berisikan setiap staff yang bekerja di DreamHome, relasinya terdiri dari banyak atribut, staffNo sebagai Primary Key dan dihubungkan dengan atribut branchNo (Foreign Key) dengan relation Branch. PropertyForRent adalah relation yang berisikan semua properti yang ada dibawah DreamHome, terdiri dari banyak atribut, propertyNo sebagai Primary Key, dan terhubung dengan relation PrivateOwner, staff, dan branch dengan atribut ownerNo, staffNo, dan branchNo sebagai Foreign key. Relation Client berisikan semua client atau penyewa properti DreamHome, rediri dari atribut clientNo sebagai primary key, dan atribut lainnya. PrivateOwner adalah relation yang berisikan pemilik pribadi property yang ada di DreamHome dengan ownerNo sebagai Pr