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

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

Embed Size (px)

DESCRIPTION

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.)

Citation preview

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

İ.SENCER GÜLTUNAA.SİNAN ŞEKERCİ

MEHMET KÖYLÜOĞLU

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

GENERAL INFORMATIONThe 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.

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

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.)

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

ER DIAGRAM

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

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))

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

SQL Select Username, Password From Customer where email='[email protected]'  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

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

ThanksThank you for listening to us.Special thanks to our teachers and research

assistants for their helpfulness.Now it's time for demo.