Question: Assuming that you have a database, which contains a table, called books. Assume that the books table was created with the DDL create statement below

Assuming that you have a database, which contains a table, called books. Assume that the books table was created with the DDL create statement below and contains the values listed in the following table. Develop a SQL update statement that will change the cost column of each row in the table, which has a publication date before 10/01/2009 to a value of $0.00. Post your solution to the discussion forum and compare with the solutions of your peers. Discuss different approaches to solving this problem.

Assuming that you have a database, which contains a table, called books.

Assume that the books table was created with the DDL create statement

create table books Bookld Sequence integer Title Author ISBN Pub Date date, Cost integer, char(30), char(30), char(20) decimal(10,2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!