DBMS_5th Expt (2)
DBMS_5th Expt (2)
Design an ER-diagram for the following scenario, Convert the same into a
relational model, normalize Relations into a suitable Normal form and
then solve the following queries. A country can have many Tourist
places . Each Tourist place is identified by using tourist_place_id,
having a name, belongs to a state, Number of kilometers away from the
02.03.2021 updated 52/ 104 capital city of that state, history. There are
many Tourists visits tourist places every year. Each tourist is
identified uniquely by using Tourist_id, having a Name, age, Country and
multiple emailids. A tourist visits many Tourist places, it is also
required to record the visted_date in the database. A tourist can visit a
Tourist place many times at different dates. A Tourist place can be
visited by many tourists either in the same date or at different dates.
Queries: i. List the state name which is having maximum number of tourist
places.
ii. List details of Tourist place where maximum number of tourists
visited.
iii. List the details of tourists visited all tourist places of the state
“KARNATAKA”.
iv. Display the details of the tourists visited at least one tourist
place of the state, but visited all states tourist places.
v. Display the details of the tourist place visited by the tourists of
all country.