Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

SQL – Creating Views

In this series, we will build and enhance the a hotel booking database.

Series 1 Objectives – Create Views

Create the bookingdb environment by downloading the bookingdb.zip file attached in this Assignment.

Review the base tables that is created.  Code SQL to create a VIEW for each base table.  The viewname should begin with ‘v’+basetablename.  The CREATE VIEW statement should code all the existing columns in the SQL portion of the statement.

Review the lesson that created the guestmessage table and create a guestmessage base table in this bookingdb.  Create a VIEW for the guestmessage table.

In this series, we will learn to create views of the base tables, create stored procedures using the views, and create triggers for insert, update and delete events on the booking table.

Upon completion of the above, export the whole database and zip it.  Rename it to bookingdbSeries1.zip and upload

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes