Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Following table already exists with the columns as shown. Which of the SQL shown below would correctly insert the data as shown: isbn 1 2

Following table already exists with the columns as shown.
Which of the SQL shown below would correctly insert the data as shown:
isbn 12345678902345678901
bookTitle Life of Pi Reading books for dummies
serialNum sABC sXYZ
pubDate Jan-10-2020
purchaseDate Jan-1-2020
purchasePrice $21.20
listPrice $33
publisher All Books Inc Dummies Inc
Selected Answers:
INSERT INTO BOOK(isbn, bookTitle, serialNum, pubDate, purchaseDate, purchasePrice, listPrice, publisher)
VALUES
(1234567890, 'Life of Pi', 'sABC', NULL, 'Jan-1-2020',21.20, NULL, 'All Books Inc')
,(2345678901, 'Reading books for dummies', 'sXYZ', 'Jan-10-2020', NULL, NULL, 33.00, 'Dummies Inc')
;

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 Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

What are the reinvestment rate assumptions underlying NPV and IRR?

Answered: 1 week ago