Answered step by step
Verified Expert Solution
Question
1 Approved Answer
By using PostreSQL, solve the following. Paste the code script and screenshots if nessecary. Please explain your steps. Thanks in advance! Dalebases Exercise In PostgreSQL
By using PostreSQL, solve the following.
Dalebases Exercise In PostgreSQL : Create a database named My amazine database then write sal commands to create the following relations; Coffees (coffee, manufacturer) Coffeehouses (offehousename, addues, license) Brinkers (drinkername, address, phone) Likes (drin bername, coffee) Frequents ( drinkername, coffeehousenque) Sells (coffehousename, coffee, price) There should be foreign key relationship in the definition of the last 3 tables. Now write sal commands to insert some data into the tables and run some simple sal queries. Finally write Sal commands to delete first all the data and then all the tables. - - Paste all the text used containing the SQL sriept used to create the tables, insert the data, run some queries, delete the data and drop the tables. Copy everything as you go because if you drop the tables, then everything is gone if you have not copied Paste the code script and screenshots if nessecary. Please explain your steps.
Thanks in advance!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started