Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL 1. Create a table copy of an existing table that only you can use. Call the new table Authors_Copy. The new table should contain

SQL

1. Create a table copy of an existing table that only you can use. Call the new table "Authors_Copy". The new table should contain the last names, first names, and cities of all authors who live in California.

2. Write a SELECT statement that returns columns titled as Publisher ID and Publisher Name from the publishers table.

3. Write a select statement that retrieves the title and price of all books that cost between $10 and $15. (You may use the numbers 10 and 15 without dollar signs.)

4. Retrieve the employee ID, last name, and job level for all employees that are a job level 35, 100, or 200.

5. Retrieve all titles for which the royalty is unknown.

6. Retrieve the store ID, title ID, order date, and quantity sold for all sales in 1994 from stores that either sold 20 or more copies of a single title or had a payment term of Net 30 days.

7. Write a SELECT statement that prints the roysched table with royalty increased by 1. Call the new value New Royalty.

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2022 Grenoble France September 19 23 2022 Proceedings Part 4 Lnai 13716

Authors: Massih-Reza Amini ,Stephane Canu ,Asja Fischer ,Tias Guns ,Petra Kralj Novak ,Grigorios Tsoumakas

1st Edition

3031264118, 978-3031264115

More Books

Students also viewed these Databases questions

Question

2. Employees and managers participate in development of the system.

Answered: 1 week ago