Latest Questions & Answers

Q: Write the query that will write Oracle sequences to produce automatic customer

Write the query that will write Oracle sequences to produce automatic customer number and invoice number values. Start the customer numbers at 1000 and the invoice numbers at 5000.

See Answer

Q: Write the query that will show the invoice number, the invoice

Write the query that will show the invoice number, the invoice amount, the average invoice amount, and the difference between the average invoice amount and the actual invoice amount. (Figure P8.8) FI...

See Answer

Q: Write the query to show the invoice number, the customer number

Write the query to show the invoice number, the customer number, the customer name, the invoice date, and the invoice amount for all customers with a customer balance of $1,000 or more. (Figure P8.7)...

See Answer

Q: Write the SQL code that will produce a listing for the data

Write the SQL code that will produce a listing for the data in the EMP_2 table in ascending order by the bonus percentage. Figure P7.9 the contents of the EMP_2 table

See Answer

Q: Write a query to display the lowest average cost of books within

Write a query to display the lowest average cost of books within a subject and the highest average cost of books within a subject. (Figure P8.67) Figure P8.67 Lowest and highest average subject costs...

See Answer

Q: Write a query to display the book number, title, subject

Write a query to display the book number, title, subject, author last name, and the number of books written by that author. Limit the results to books in the Cloud subject. Sort the results by book...

See Answer

Q: Write a query to display the book number, title, subject

Write a query to display the book number, title, subject, average cost of books within that subject, and the difference between each book’s cost and the average cost of books in that...

See Answer

Q: Write a query to display the author ID, first and last

Write a query to display the author ID, first and last name for all authors that have never written a book with the subject Programming. Sort the results by author last name. (Figure P8.64) Figure P8...

See Answer

Q: Write a query to display the book number, title, and

Write a query to display the book number, title, and cost of books that have the lowest cost of any books in the system. Sort the results by book number. (Figure P8.63) Figure P8.63 Least expensive b...

See Answer

Q: Write a query to display the patron ID and the average number

Write a query to display the patron ID and the average number of days that patron keeps books during a checkout. Limit the results to only patrons that have at least 3 checkouts. Sort the results in...

See Answer