NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

drop table gebeurtenis;
drop table declaratie;
drop table wedstrijd;
drop table relatie;
drop table lid;
drop table team;

create table lid
(lidnummer varchar(6),
naam varchar(20),
straat varchar(50),
huisnummer varchar(5),
woonplaats varchar(20),
postcode varchar(6),
telefoon number(10),
geboortedatum date,
lid_sinds date);

create table gebeurtenis
(lidnummer varchar(6),
wedstrijdcode varchar(4),
gebeurtenis varchar(50));

create table declaratie
(declaratienummer number(10),
lidnummer varchar(6),
datum date,
omschrijving varchar(100),
datum_betaald date);

create table team
(jaar number(4),
teamcode varchar(11),
opmerking varchar(100),
eindresultaat varchar(100));

create table wedstrijd
(wedstrijdcode varchar(4),
datum date,
plaats varchar(20),
jaar number(4),
teamcode varchar(11),
tegenstander varchar(50),
tussenstand varchar(6),
eindstand varchar(6));

create table relatie
(lidnummer varchar(6),
jaar number(4),
teamcode varchar(11),
relatie varchar(20));

alter table lid add
constraint pk_lid primary key (lidnummer);

alter table gebeurtenis add
constraint pk_gebeurtenis primary key (lidnummer, wedstrijdcode);

alter table declaratie add
constraint pk_declaratie primary key (declaratienummer);

alter table relatie add
constraint pk_relatie primary key (lidnummer, jaar, teamcode);

alter table team add
constraint pk_team primary key (jaar, teamcode);

alter table wedstrijd add
constraint pk_wedstrijd primary key (wedstrijdcode);

alter table lid add
constraint fk_lid_gebeurtenis_relatie foreign key(lidnummer) references lid (lidnummer);

alter table declaratie add
constraint fk_declaratie_lid foreign key(lidnummer) references lid (lidnummer);

alter table gebeurtenis add
constraint fk_gebeurtenis_wedstrijd foreign key(wedstrijdcode) references wedstrijd(wedstrijdcode);

alter table relatie add
constraint fk_relatie_team foreign key(jaar, teamcode) references team(jaar, teamcode);

alter table wedstrijd add
constraint fk_wedstrijd_team foreign key(jaar, teamcode) references team(jaar, teamcode);

insert into lid values(001, 'Henk Domhof', 'Pietersstraat', '3', 'Beltrum', '7144WW', '0612345678', '01-01-2001', '02-02-2002');

insert into lid values(002, 'Frederik Hendrik', 'Freekstraat', '40a', 'Woerden', '6666SS', '0687654321', '01-02-2003', '03-04-2005');

insert into lid values(003, 'Margreet Bleumink', 'Deventer kunstweg', '3', 'Beltrum', '7156NW', '0620140226', '23-11-1967', '14-05-1997');

insert into lid values(004, 'Meyke Bleumink', 'Hoornhorststraat', '14', 'Groenlo', '7145WF', '0647365894', '23-02-2001', '12-04-2002');

insert into lid values(005, 'Vader Jacob', 'Slaapt gij nog', '7', 'Alle klokken luiden', '4567BI', '0646578915', '12-08-1678', '30-07-2012');

insert into lid values(006, 'Dries Blijen', 'Rudolfstrasse', '5', 'Kerstmisstraat', '2222AA', '0647859632', '03-06-1950', '08-10-2000');
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.