Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dalabases Exercise In PostgreSQL : Create a database named My amazine database then write sal commands to create the following relations: Coffees (caffee, manufacturer) Coffeehouses

image text in transcribed
Dalabases Exercise In PostgreSQL : Create a database named My amazine database then write sal commands to create the following relations: Coffees (caffee, 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 deta and then all the tables. - - Paste all the text used containing the sal 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions