Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question No. 1 We have the following tables which creates statement are 1. create table supplier(S_NO int identity(1,1), SUP_ID varchar(50) primary key,SUP_NAME varchar (50), SUP_ADD

image text in transcribed

Question No. 1 We have the following tables which creates statement are 1. create table supplier(S_NO int identity(1,1), SUP_ID varchar(50) primary key,SUP_NAME varchar (50), SUP_ADD varchar (50), SUP_NIC int, rank int) 2. create table Product(Prod ID varchar(50) primary key,Prod_Name varchar(50),[Price/Unit] float) 3. create table Orders(Ord_ID varchar(50) primary key,Prod_ID varchar(50), Qty int, Totalrate int, SUP_ID varchar (50)) Write the Queries using Joins on above tables 1. List of all supplier that palced order 2. List of all Product that are supplied by supplier whose id is 101 3. Find all order(s) of product named Rice

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago