Latihan - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

Latihan

Description:

Latihan Answer the following questions using the relational schema from the Exercises at the end of Chapter 3: Create the Hotel table using the integrity enhancement ... – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 3
Provided by: acid150
Category:

less

Transcript and Presenter's Notes

Title: Latihan


1
Latihan
  • Answer the following questions using the
    relational schema from the Exercises at the end
    of Chapter 3
  • Create the Hotel table using the integrity
    enhancement features of SQL.
  • Jelaskan penggunaan statement
  • CREATE
  • ALTER
  • DROP
  • Berikan contoh

2
Latihan
  • Now create the Room, Booking, and Guest tables
    using the integrity enhancement features of SQL
    with the following constraints
  • Type must be one of Single, Double, or Family.
  • Price must be between 10 and 100.
  • Room-no must be between I and tOO.
  • DateFrom and dateTo must be greater than todays
    date.
  • The same room cannot be double-booked.
  • The same guest cannot have overlapping bookings
Write a Comment
User Comments (0)
About PowerShow.com