Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS 2 7 6 DB Module 3 Assignment 1 . Write a select statement that returns all rows from the Vendors table. 2 . Write

CIS276DB
Module 3 Assignment
1. Write a select statement that returns all rows from the Vendors
table.
2. Write a select statement that returns the InvoiceNumber,
InvoiceDate and InvoiceTotal
columns from the Invoice table
3. Write a select statement that returns the VendorName, VendorCity,
VendorState and
VendorPhone columns from the Vendors table. Alias the following
columns:
VendorState (State), VendorCity (City) and VendorPhone (Phone).
4. Write a select statement that returns InvoiceNumber and a
calculated column aliased
as BalanceDue from the Invoice Table (balance is calculated as follows:
InvoiceTotal
minus PaymentTotal minus CreditTotal).
5. Write a select statement that returns the top 30 percent from the
Invoice table. Include
the following columns: InvoiceNumber, InvoiceDate and InvoiceTotal.
6. Write a select statement that returns VendorName,
VendorContactFName,
VendorContactLName from the Vendors table. Alias the following
columns:

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

Recommended Textbook for

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

What purposes does the schedule of accounts receivable serve?

Answered: 1 week ago

Question

Identify the cause of a performance problem. page 363

Answered: 1 week ago