Download presentation
Presentation is loading. Please wait.
1
Create, Insert, Delete, Update
2
Create Create database Create table Create index – Primary – Secondary
3
Insert insert into Guest (GuestNr, Name, StreetNr, City) values (107, “Smith”, “12 Maple”, “Providence”) insert into Guest values (107, “Smith” “12 Maple”, “Providence”) insert into RoomNameGuestNameSame select Room.Name from Room, Guest where Room.Name = Guest.Name assuming we have create table RoomNameGuestNameSame (Name char(20));
4
Delete delete from Guest where GuestNr = 107 delete from Reservation where ArrivalDate = “10 May”
5
Update update Room set Cost = Cost + Cost*0.1 where NrBeds = 2
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.