Question: SQL , working with SQL Server Management Studio 2 0 - Create a books table for a bookstore that contains the inventory of books the

SQL, working with SQL Server Management Studio 20- Create a books table for a bookstore that contains the inventory of books the store has. You will write scripts to
perform the following:
1. Create a Books table with columns for BookID, Title, Author, Genre, ISBN, and QuantityInStock.
2. Insert sample book data into the table.
3. Initiate a transaction to add inventory to a specific book (BookID =1).
4. Update the QuantityInStock for the specified book.
5. Inserts a new book within the same transaction to demonstrate a multi-statement transaction.
6. Commit the transaction, making the changes permanent.
SQL , working with SQL Server Management Studio 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 Programming Questions!