List all customers that live in Massachusetts or California. Show the first and last names together in the same column, then city, then state. There will be three (3) columns in your report with data looking like this: Tom Yates          Dallas          TX

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Hi really need help with this assigment

Oracle 12c: SQL Chapter 8

Q2 List all customers that live in Massachusetts or California. Show the first and last names together in the same column, then city, then state. There will be three (3) columns in your report with data looking like this:

Tom Yates          Dallas          TX

Sort the results in ascending order by the last name within the state. Use appropriate column aliases for the headings.

Q3 List the titles, retail price, and discount for all books that contain the word “cook” in the title. Sort by cost.

Q4 Report all books published after Jan. 1st, 2015, as well as all books published in 2014 that have retail price of $50 or less. Show the title, publisher's number, retail price, and date published. The list should sort the data first by publisher number, then by retail price within each publisher. So you will have two sets of data in the report: all books published after January 1st, 2015 as well as those books published in 2014 that have retail price of $50 or less.

Q5 List titles, cost, retail and profit margin for all books that have a profit margin under 55%. Make sure to assign a descriptive column name for the calculated field. Profit margin is calculating by the following formula:

((retail – cost) / cost) *100

Q6.  List the title and publish date of any computer book published in 2005. Perform the task of searching for the publish date by using three different methods: a) a range operator b a logical operator, and c) a search pattern operation. Submit three different queries.



Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Datawarehouse
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY