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:Recursos Humanos | |
regions = { | |
region_id:number, region_name:string | |
1 , 'Europe' | |
2 , 'Americas' | |
3 , 'Asia' | |
4 , 'Middle East and Africa' | |
} |
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: Recursos_humanos | |
Dep = { Codd,Nom,Localidad | |
10, 'Administration', 1700 | |
20, 'Marketing', 1800 | |
} |
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: banco example | |
description[[ the data for this dataset was generated using <http://www.generatedata.com/> | |
* the relation _Customers_ contains basic information about the customers of the bank. | |
* the relation _Accounts_ contains the basic information of a single account. Note that a customer can have any number of accounts. | |
* the relation _PremiumCustomers_ contains the customer-ids of all customers with a total balance over 1000 | |
]] | |
Customers = { cid firstname lastname |
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: HR | |
description[[ the data for this dataset was generated using <http://www.generatedata.com/> | |
* the relation _Customers_ contains basic information about the customers of the bank. | |
* the relation _Accounts_ contains the basic information of a single account. Note that a customer can have any number of accounts. | |
* the relation _PremiumCustomers_ contains the customer-ids of all customers with a total balance over 1000 | |
]] | |
CREATE TABLE regions ( | |
region_id INT (11) NOT NULL, |
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
CREATE SCHEMA hr; |
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
CREATE TABLE regions ( | |
region_id INT NOT NULL, | |
region_name VARCHAR(25), | |
PRIMARY KEY (region_id) | |
); | |
INSERT INTO regions | |
VALUES ( | |
1, | |
'Europe' | |
); |
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
CREATE TABLE regions ( | |
region_id INT NOT NULL, | |
region_name VARCHAR(25), | |
PRIMARY KEY (region_id) | |
); | |
INSERT INTO regions | |
VALUES ( | |
1, | |
'Europe' | |
); |
NewerOlder