The following three tables make up a simple reservation system for a small campground. The database should allow for a camper to make multiple rese Table: Camper CAMPER NUMBER 1000 1001 1002 1003 CAMPER_LAST_NAME Jones Schmidt Williams Cooper CAMPER_FIRST_NAME Jamie Pat Clifford Amanda CAMPER_ADDRESS 1278 Essex Pl 4954 Spangled Way 956 Segull Lane P. O. Box 998877 CAMPER CITY Birmingham El Paso Portland Portsmouth CAMPER_STATE AL TX ME OH CAMPER_ZIP_CODE 45251 79919 4108 45662 CAMPER DRIVERS LICENSE JJ998743-98 87632434 WIL885123 765A876B897 CAMPER_EMAIL jjones@somewhere.com patwonderfu341@nowhere.net williams98342@foomail.com coopera@nowhere.net Table: Spot SPOT_NUMBER 101 102 103 104 SPOT_NAME The Pines The Glade Teardrop Spot Tent In Trees SPOT_LENGTH 55 50 20 0 SPOT_PULLTHRU 1 0 0 0 SPOT_ELECTRIC AMPS 50 50 20 0 SPOT WATER 1 1 1 1 SPOT SEWER 1 1 0 0 SPOT_RATE_WEEKDAY 35 33 15 12 SPOT_RATE WEEKEND 42 42 22 15 Table: Reservation RESV_NUMBER 1 2 3 4 5 RESV_DATE 2015-05-15 2015-05-14 2015-05-14 2015-05-20 2016-06-01 RESV_NIGHTS 2 4 4 1 2 SPOT_NUMBER 101 103 104 101 101 CAMPER NUMBER 1002 1000 1001 1002 1002 RESV_RATE 84 150 24 35 85 RESV_DEPOSIT 20 25 24 10 0 Add the ends to the relations on the Crows Foot ERD for the campground reservation system.
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images