subject

1. write a create view statement that defines a view named invoicebasic that returns three columns: vendorname, invoicenumber, and invoicetotal. then, write a select statement that returns all of the columns in the view, sorted by vendorname, where the first letter of the vendor name is n, o, or p.2. create a view named top10paidinvoices that returns three columns for each vendor: vendorname, lastinvoice (the most recent invoice date), and sumofinvoices (the sum of the invoicetotal column). return only the 10 vendors with the largest sumofinvoices and include only paid invoices.3. create an updatable view named vendoraddress that returns the vendorid, both address columns, and the city, state, and zip code columns for each vendor. then, write a select query to examine the result set where vendorid=4. next, write an update statement that changes the address so that the suite number (ste 260) is stored in vendoraddress2 rather than in vendoraddress1. (make sure to rerun your select query in order to verify the change)4. create a view named accountbyvendor that returns the sum of invoicelineitemamounts in the invoicelineitems table, grouped by vendorname and accountdescription.5. modify the invoicebasic view created in exercise 1 to sort the result set by vendorname.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:20
This os integrated the processing power of windows nt with the easy-to-use gui of windows 98. windows 2000 windows 3.11 windows for workgroups windowa millennium edition
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
You know the right answer?
1. write a create view statement that defines a view named invoicebasic that returns three columns:...
Questions
question
Mathematics, 11.10.2019 20:00
question
Chemistry, 11.10.2019 20:00
Questions on the website: 13722360