Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q11. Write an SQL query to do the following a. Create table Shop with the given details. (2 Marks) | It No It_Name DOP Quantity

image text in transcribed

Q11. Write an SQL query to do the following a. Create table Shop with the given details. (2 Marks) | It No It_Name DOP Quantity Number(3). Varchar2(25) Date Number(2) Primary Key Default systemdate b. Change datatype of It_Noto from Number (3) to Varchar2(4). (1 Mark) c. Insert the following records into the table Shop. (1 Mark) It_No It_Name DOP Quantity P222 Book 20/05/2019 18 P444 Pencil 15/10/2018 20 P666 Ruler 06/06/2020 10 d. Display Item no and Quantity of item with name Book. (1 Mark)

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

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

Students also viewed these Databases questions

Question

Evaluate 3x - x for x = -2 Answer:

Answered: 1 week ago

Question

What is group replacement? Explain with an example. (2-3 lines)

Answered: 1 week ago

Question

Question Who can establish a Keogh retirement plan?

Answered: 1 week ago