Latest Questions & Answers

Q: Assuming the data shown in the EMP_1 table have been

Assuming the data shown in the EMP_1 table have been entered, write the SQL code that will list all attributes for a job code of 502. ATTRIBUTE (FIELD) NAME DATA DECLARATION  EMP_NUM CHAR(3)  E...

See Answer

Q: Having created the table structure in Problem 1, write the SQL

Having created the table structure in Problem 1, write the SQL code to enter the first two rows for the table shown in Figure P7.2. Figure P7.2 The contents of the EMP_1 table Figure P...

See Answer

Q: Using the output shown in Figure P7.29 as your guide

Using the output shown in Figure P7.29 as your guide, generate the listing of customer purchases, including the subtotals for each of the invoice line numbers. (Hint: Modify the query format used to...

See Answer

Q: Write the SQL code that will create the table structure for a

Write the SQL code that will create the table structure for a table named EMP_1. This table is a subset of the EMPLOYEE table. The basic EMP_1 table structure is summarized in the table below. (Note...

See Answer

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

Write a query to display the author ID, first name, last name, and year of birth for all authors born in the decade of the 1980s (See Figure P7.79). FIGURE P7. 79 Authors Born in the 1980s

See Answer

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

Write a query to display the book number, title, year of publication, subject, and cost for all books that are on the subjects of “Middleware” or “...

See Answer

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

Write a query to display the book number, title, and year of publication of all books published after 2013 and on the “Programming” subject (See Figure P7.77). FIGU...

See Answer

Q: Write a query to display the checkout number, book number,

Write a query to display the checkout number, book number, and checkout date of all books checked out before April 5, 2015 (See Figure P7.76). FIGURE P7. 76 Checkouts before April 5th

See Answer

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

Write a query to display the book number, title, and year of publication for all books in the “Database” subject (See Figure P7.75). FIGURE P7. 75 Database Books...

See Answer

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

Write a query to display the book number, title, and year of publication for all books published in 2012 (See Figure P7.74). FIGURE P7. 74 Books Published in 2012

See Answer