Question: Use MICROSOFT SQL SERVER language to fill the block like (...) Here is the diagram 1)Modify the table Invoice, add a new column to store
Use MICROSOFT SQL SERVER language to fill the block like (...)
Here is the diagram

1)Modify the table Invoice, add a new column to store the sum of all items of the invoice. (e.g. two balls and one pen are 3 items)
alter table Invoice (Invoice)
..................... write here you code
2)Create a T-SQL block to fill up the new column based on the data stored.
update Invoice
set ..................... write here you code
Payment Method Order ID 9 ID Date Method Deadline PlaceOfBusiness ID Zip Code City Street Deadline PlaceOfBusinessID StatusID Payment Methodid Customer Y ID Name BankAccount Login Password Email MainPlaceOfBusiness Fax Customer Status 8 ID Name Invoicelssuer 9 ID Orderltem ID Amount Price Order D ProductiD StatusID Category 9 ID Invoice* Y ID CustomerName CustomerZipCode Customer City Customer Street PrintedCopies Cancelled Payment Method CreationDate DeliveryDate Payment Deadline InvoicelssuerlD Order Name ZipCode City Street Taxidentifier BankAccount Name ParentCategory Product VAT Y ID Name Invoiceltem Price Percentage Name Amount InStock VATID CategoryID Description Image Price VATPercentage InvoicelD OrderitemID
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
