Presentation is loading. Please wait.

Presentation is loading. Please wait.

İ.SENCER GÜLTUNA A.SİNAN ŞEKERCİ MEHMET KÖYLÜOĞLU.

Similar presentations


Presentation on theme: "İ.SENCER GÜLTUNA A.SİNAN ŞEKERCİ MEHMET KÖYLÜOĞLU."— Presentation transcript:

1 İ.SENCER GÜLTUNA A.SİNAN ŞEKERCİ MEHMET KÖYLÜOĞLU

2 GENERAL INFORMATION The company's name is “Newcastle Pub” and located at “Eskişehir yolu Tepe Prime Avenue B Blok B01-B02” and “Tunus Cad. No:66/1 Kavaklıdere”. The business is a “Pub with Restaurant”and run by Mustafa Türk, owner of the company.

3 REQUIREMENTS What are your expectations from the online reservation system / developed system? Do you think gold membership would be ideal? (For example, with gold membership you would be able to assign priorities to people.)

4 ER DIAGRAM

5 MAPPING BRANCH(BranchID, BranchName, PhoneNumber, Address) WORKER(BranchID (FK refers to BRANCH), IdentificationNumber, Name, LastName) CUSTOMER(Username, Name, Email, Password) ADMIN(Username, Email, Password) RESERVATION(CustomerUsername (FK refers to Customer), AdminUsername (FK refers to Admin), BranchID (FK refers to BRANCH), Date, NumberOfSeats) PLACE(BranchID(FK refers to BRANCH) ReservationDate(FK Refers to RESERVATION))

6 SQL Select Username, Password From Customer where email='ss@ss.com' Select w.name, w.lastname from worker w, branch b where w.branchid = b.branchid AND b.branchID = 2 select customername, numberofseats, date from reservation where date = '31/12/2012' select b.branchid, avg(r.numberofseats) from branch b, reservation r having r.date like '31/12/%' select reservationdate, branchid, count(*) from place where reservationdate between '01/01/2012' and '31/12/2012' group by brachid

7 Thanks Thank you for listening to us. Special thanks to our teachers and research assistants for their helpfulness. Now it's time for demo.


Download ppt "İ.SENCER GÜLTUNA A.SİNAN ŞEKERCİ MEHMET KÖYLÜOĞLU."

Similar presentations


Ads by Google