Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PK Customers customer_id PK address_id FK first_name last_name phone note Addresses address_id city state country note Factors Factor_id PK customer_id FK payment method_id FK date

image text in transcribed

PK Customers customer_id PK address_id FK first_name last_name phone note Addresses address_id city state country note Factors Factor_id PK customer_id FK payment method_id FK date note Payment peyment_method_id PK payment_name note PK Factor_items factor_id FK _id FK quantity Price note goods good_id good_code good_name good cost good_group_id Good_groups good_group_id PK name taxrate note FK **Please answer the following questions using ORACLE SQL** i-) Which good_group (name) does have the most number of customers? (output : group name) ii-) What is the average number of goods in each factor? (output : a number) iii-) Which city has the most number of good_groups? (output : city name)

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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

=+21.4. 20.141 Show that the Cauchy distribution has no mean.

Answered: 1 week ago

Question

1. Describe the types of power that effective leaders employ

Answered: 1 week ago