Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a SQL query to print the item name, item type and price of all the items present in both the shops in descending order

Write a SQL query to print the item name, item type and price of all the items present in both the shops in descending order of their price.
Tables Schema as Below:
shop_1
columnName dataType
item_id INT
item_name VARCHAR(255)
item_type VARCHAR(255)
price INT
shop_2
columnName dataType
item_id INT
item_name VARCHAR(255)
item_type VARCHAR(255)
price INT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions