Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

sql Qil. Write an SQL query to do the following: ID a. Create table Library with the given details. BName Pch Date Varchar2(3). Varchar2(15) Date

sql
image text in transcribed
Qil. Write an SQL query to do the following: ID a. Create table Library with the given details. BName Pch Date Varchar2(3). Varchar2(15) Date Primary key (2 Marks) Price Number(5,2). Default 0 (1 Mark) (1 Mark) ID b. Add constraint Not null to the column BName c. Insert the following records into the table Library. BName Pch_Date B12 Sql 20/05/2019 B14 Database 15/10/2018 B16 Python 06/06/2020 Price 100.00 75.25 125.50 d. Change the Purchase Date of book SQL to 06/06/2020 (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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Understand the different approaches to job design. page 184

Answered: 1 week ago