NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

create database wypozyczalnia_filmow;

craete table Klient
(
id_klient INT,
Nazwisko VARCHAR(50),
Imie VARCHAR(15),
E_mail VARCHAR(30),
Telefon VARCHAR(15),
PESEL VARCHAR(11),
Ulica VARCHAR(40),
Nr_domu DEC,
Kod_pocztowy VARCHAR(6),
Miejscowosc VARCHAR(40)
);

crteate table film
(
id_film INT,
Tutul VARCHAR(40),
Gatunek VARCHAR(40),
Rok_wydania YEAR,
Rezyseria VARCHAR(70),
Scenariusz VARCHAR(70)
);

craete table pracownik
(
id_pracownik INT,
imie VARCHAR(15),
nazwisko VARCHAR(50),
stanowisko VARCHAR(30),
wyplata DEC
);

create table zamowienie
(
id_zamowienie INT,
id_zamowienie_klient INT,
id_zamowienie_film INT,
data_zamowienia DATE,
data_oddania DATE,
typ_platnosci VARCHAR(30),
uwagi VARCHAR(50)
);


insert into klient values
(1, 'Kuc', 'Jan', '[email protected]', '789654123', '74174696312', 'Hanska 5', '5', '14-300', 'Morag'),
(2, 'Yki', 'Jadwiga', '[email protected]', '456172839', '74125896312', 'Nikoni 11', '6', '14-300', 'Morag'),
(3, 'Waz', 'Janusz', '[email protected]', '467954123', '97315896312', 'Hanamury 33', '9', '14-250', 'Zalewo'),
(4, 'Aza', 'Julian', '[email protected]', '789657463', '74125845687', 'Kargi 4', '1', '14-250', 'Zalewo'),
(5, 'Czy', 'Julia', '[email protected]', '564994123', '14785896312', 'Knajdy 6', '12', '14-300', 'Morag'),
(6, 'Aby', 'Jaroslaw', '[email protected]', '999854123', '45678913244', 'Warczki 2', '3', '14-250', 'Zalewo'),
(7, 'Nap', 'Jacek', '[email protected]', '789454123', '44425896312', 'Ninony 17', '4', '14-250', 'Zalewo'),
(8, 'Ewn', 'Jankes', '[email protected]', '741004123', '74128746312', 'Kaczuchy 3', '5', '14-300', 'Morag'),
(9, 'Oto', 'Juliusz', '[email protected]', '789005523', '44115896315', 'Korborana 5', '8', '14-330', 'Dobrocin'),
(10, 'Ona', 'Joanna', '[email protected]', '874554123', '78917685412', 'Fiona 7', '5', '14-330', 'Dobrocin');

insert into film values
(1, 'Krawedz Lustra', 'Przyrodniczy', '2004', 'Ania Niszkoni', 'Roksana Filadello'),
(2, 'Pole Bitwy', 'Horror', '2014', 'Tomasz Albonie', 'Frydryk Kapiczino'),
(3, 'Ziemie Graniczne', 'Science Fiction', '2006', 'Wisława Niemen', 'Idefik Kapiszi'),
(4, 'Pod Opowiesc', 'Dokumentalny', '2011', 'Maurycy Donośny', 'Romualdo Pufufuf'),
(5, 'Wezwanie Sluzby', 'Thriller', '2005', 'Cezary Getop', 'Klement Radziby'),
(6, 'Potrzeba Predkosci', 'Komedia', '2017', 'Sandra Elementar', 'Bohdan Chwalikostka'),
(7, 'Rakietowa Liga', 'Paradokumentalny', '1997', 'Szlafrok Holmes', 'Michal Troskawkowy'),
(8, 'Powazny Sam', 'Romantyczny', '2014', 'Antoni Mlotson', 'Ispep Testokiron'),
(9, 'Zycie jest dziwne', 'Familijny', '2001', 'Sanik Szybki', 'Adolf Aknaiwosic'),
(10, 'Ruszaj lub gin', 'Akcji', '2000', 'Darwin Niwrad', 'Rubi Szubert');

insert into pracownik values
(1, 'Lucjan', 'Szary', 'Kierownik', '3000'),
(2, 'Ryty', 'Pomaranczowy', 'PodKierownik', '2000'),
(3, 'Wladoslaw', 'Atunie', 'Sprzedawca', '2800'),
(4, 'Karol', 'Nikly', 'Konsultant', '2100'),
(5, 'Cerberyn', 'Pupurowy', 'Pocieszacz', '2000'),
(6, 'Niklau', 'Zielony', 'Sprzataczka', '2500'),
(7, 'Piotr', 'Rozowy', 'Narrator', '2555'),
(8, 'Anders', 'Siny', 'Kucharz', '2648'),
(9, 'Rypert', 'Niebieski', 'Koordynator', '2147'),
(10, 'Gustaw', 'Czerwony', 'Manipulator', '2649');

insert into zamowienie values
(1, 1, 10, '2012-01-30', '2012-02-01', 'przelew', 'brak'),
(2, 2, 9, '2014-10-30', '2014-11-19', 'przy kasie', 'brak'),
(3, 3, 8, '2016-05-01', '2016-07-25', 'przy kasie', 'brak pudelka'),
(4, 4, 7, '2011-04-10', '2012-02-04', 'przelew', 'zamiennik'),
(5, 5, 6, '2012-02-20', '2012-02-24', 'przelew', 'burmistrz jest oszustem'),
(6, 6, 5, '2012-01-30', '2012-02-06', 'przelew', 'zly pomysl'),
(7, 7, 4, '2014-05-17', '2015-12-01', 'przelew', 'tak srednio'),
(8, 8, 3, '2010-01-30', '2011-11-01', 'przy kasie', 'brak'),
(9, 9, 2, '2012-01-30', '2014-02-01', 'przelew', 'czeka zly czas'),
(10, 10, 1, '2011-11-30', '2011-12-11', 'przy kasie', 'brak');
     
 
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.