–SECTION 3– This section contains 3 questions, in total a…

–SECTION 3– This section contains 3 questions, in total are worth 45 points. They are related to each other. The questions are meant to test your basic SQL abilities (advanced DDL statements and understanding underlying data structures given set of business requirements). You must write your responses in the boxes provided.

Include a new column in a table… You were tasked with upda…

Include a new column in a table… You were tasked with updating an existing table called InvoiceLineItems to include a new column that allows Purchasing Specialists in the Finance department to track the number of each item that was purchased. If a receipt does not have the number of an item purchased, they want it to default to a count of one and therefore it cannot be less than a count of one. Write a SQL statement that includes this new column and supports the end result the Purchasing Specialist is looking for. Choose the appropriate data types and column conditions (HINT: You will need more than one constraint).