Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the AP database, complete the following queries: Update the Terms Description for the Terms ID of 1 to say DUE IN 8 DAYS! (

Using the AP database, complete the following queries:
Update the Terms Description for the Terms ID of 1 to say "DUE IN 8 DAYS!" (do not include the
quotations).
Update all Vendors in California or New Jersey to have a default terms ID of 3.
Delete all of the invoice line items whose line item amount is less than $12
Insert a Vendor (with whatever data you want, as long as it works) into the vendors table.
Insert the following invoice into the database
VendorID -6
InvoiceNumber - AJ562GQ4M
InvoiceDate - Todays Date (use a function or literal string)
InvoiceTotal -50
PaymentTotal -10
CreditTotal -0
TermsID -1
InvoiceDueDate - June 30,2013
PaymentDate - NULL
Create a Students table with the following columns (Use appropriate data types)
SID (Make this a primary key column)
FirstName
LastName
Age
State (Which will be stored as a two letter abbreviation)
DOB (date of birth)
Email (make this unique)
IsGraduated (this would be true or false)
Answer the following questions with thorough explanations:
Why is it important to normalize a database?
Is a higher level of normalization always better?
Are the built in functions in SQL Server important to know? Why or why not.
image text in transcribed

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

Students also viewed these Databases questions

Question

CSs

Answered: 1 week ago

Question

6. Conclude with the same strength as in the introduction

Answered: 1 week ago

Question

7. Prepare an effective outline

Answered: 1 week ago