Question: Following tables with data are created: AGENTS (agent_code, agent_name, working_area, commission, phone_no, country) CUSTOMERS (cust_code, cust_name, cust_city, working_area, cust_country, grade, opening_amt, receive_amt, payment_amt, outstanding_amt, phone_no,

Following tables with data are created: AGENTS (agent_code, agent_name, working_area, commission, phone_no, country) CUSTOMERS (cust_code, cust_name, cust_city, working_area, cust_country, grade, opening_amt, receive_amt, payment_amt, outstanding_amt, phone_no, agent_code)

1. Create a view 'agentview6' with customer name, agent name from the table 'agents', and customers with the following condition:

Customers agents working area is in 'London'

2. Create a view 'top_customer' as the table 'customer' with the following conditions -

opening_amt, receive_amt, payment_amt, outstanding_amt is greater than 5000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!