Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQl plz solve this question 2) Consider the tables given below. Table Name: Vegetables (V) Veg_ID Veg_Name Veg_Qty Veg_Price Veg_Supplieri 1 Cucumber 10 boxes 3

SQl plz solve this question
image text in transcribed
image text in transcribed
2) Consider the tables given below. Table Name: Vegetables (V) Veg_ID Veg_Name Veg_Qty Veg_Price Veg_Supplieri 1 Cucumber 10 boxes 3 1 2 Carrot 24 packets 2 1 3 Tomato 20 boxes 1.5 3 4 Brinjal 5 boxes 2.5 2 N Table Name:Suppliers (S) Contact Name Veg_Supp SupplierName lierID Address City 1 ABC Incorporation LLC. Mr. Syed Al-Rusay! Muscat 2 P.O. Box 786, Suhar Chummus Vegetable Ms. Lilli Suppliers LLC 3 18th November Muscat Farm Fresh Vegetables Mr. Ahmed LLC Street. 4 4 Vegetable Mr. Mogambo Sultan African Traders Muscat Madinat Qaboos a. Write the relational Algebraic expressions for the following tasks and explain the symbols used in the representation 1. Find all the information of vegetables whose price is from 1.5 to 2 inclusively. il. Find the number of suppliers in each city. Find ID and name of suppliers whose city is Muscat. iv. Display the name of supplier who supplies carrot Display the price of the most expensive vegetable V. b. Convert the following Relational Algebra expressions to SQL statements: i. ii. iii. iv. V. PROJECT VegSELECTsupplier in (1.2.3.4)(V) PROJECT Veg_ID, Veg_Name SELECTveg_Price between 1 and 2 (V) SELECTveg_Name LIKE 'c

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

4. Ashantis sense of humor keeps the class positive.

Answered: 1 week ago

Question

please help this integration.by using the limit definition, thankss

Answered: 1 week ago