Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the Oracle-VM SQL Query for the following queries. Please help with as many possible. Please do not give me answers in ALG (relational

I need the Oracle-VM SQL Query for the following queries. Please help with as many possible. Please do not give me answers in ALG (relational algebra) or TRC (Tuple relational calculus).

image text in transcribed

Get the name of the customer who banks in Royal or America bank.

Get the customer name/bank name pairs such that the indicated customer has an account in the indicated

bank.

Get the customer name/bank name pairs such that the indicated customer does not an account in the

indicated bank.

Get the name of the customer who has an account in every bank except France Bank.

Get the name of the customer who has an account in every bank that Clark banks without using NOT EXISTS (B MINUS A).

Get the name of the customer who has an account in every bank that Clark banks using NOT EXISTS (B MINUS A).

Get the name of the customer who banks only in the banks that Clark banks.

Get the name of the customer, the number of banks he/she banks, and total balance he/she has.

Get complete information of each customer such that when the customer has an bank account, list bank

detail and balance; when the customer does not have an account, just list the customer information.

Get customer names and total balance in all banks. If the customer has no account, leave it null.

B Name City Bl England London B2 America New York B3 Royal Toronto Customer Name Age City C1 Adams 20 London 30 Paris C4 Your Lastname 20 London C5 Smith 30 Toronto

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_2

Step: 3

blur-text-image_3

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

=+working on a micro-multinational?

Answered: 1 week ago

Question

=+j Identify the challenges of training an international workforce.

Answered: 1 week ago