In this assignment you are going to create multi-table join statements to query the tables that you
Fantastic news! We've Found the answer you've been seeking!
Question:
In this assignment you are going to create multi-table join statements to query the tables that you created a previous assignment. You will use the SQL Workshop - SQL Scripts page to create a single script file to complete the assignment.
Transcribed Image Text:
DJs on Demand Table Design D_PLAY_LIST_ITEMS NUMBER (5) NUMBER (5) PF EVENT ID P SONO D COMMENTS VARCHAR2(0) DPLM_PK (EVENT ID, SONG_ID) DPLM_EVENT_O_FK (EVENT_ID) D_PLM_SONG_ID_FK (SONO_ID) 10 TITLE DURATION D SONGS ARTIST TYPE CODE D_SNG JD PK (0) D_SNG_TYPE_CODE_FK(TYPE_CODE) D_COS CD NUMBER NUMBER (5) TITLE *PRODUCER YEAR NUMBER (5) VARCHAR2 (50) VARCHAR2 (20) VARCHAR2 (20) NUMBER (10) D_TRACK LISTINGS PF SONG ID NUMBER (5) PF CD NUMBER NUMBER (5) TRACK NUMBER (2) D_TLG_PK (SONG JO. CD_NUMBER) D_TLG CD NUMBER FK (CD_NUMBER) D_TLG_SONG_ID_FK (SONG_ID) SONO_ID_IDX (SONG_ID) VARCHAR2 (50) VARCHAR2 (50) VARCHAR2(4) D_COS_CO_NUMBER_PK (CD_NUMBER) D_COS IDX (TITLE) D_TYPES D JOB ASSIGNMENTS NUMBER (5) NUMBER (5) DATE VARCHAR2 (50) D_JAT PK (PARTNER_ID, EVENT_ID) D_JAT_EVENT_ID_FK (EVENT_ID) DJAT_PARTNER_ID_FK (PARTNER_ID) PF PARTNER ID PF EVENT D JOB DATE STATUS CODE DESCRIPTION D_TPE_CODE_PK (CODE) NAME EVENT DATE DESCRIPTION D_EVENTS COST VENUE O *PACKAGE CODE *THEME CODE F CLIENT NUMBER DEVE_ID_PK (D) DEVE CLIENT NUMBER FK (CLIENT_NUMBER) D_EVE PACKAGE CODE FK (PACKAGE_CODE) DEVE THEME_CODE FK (THEME_CODE) DEVE_VENUE_ID_FK (VENUE_ID) NUMBER (10) VARCHAR2(50) NUMBER (5) VARCHAR2 (50) DATE VARCHAR2 (50) NUMBER (82) NUMBER (5) NUMBER (10) NUMBER (10) NUMBER (5) D_CLIENTS *CUENT NUMBER *FIRST NAME LAST NAME PHONE EMAIL NUMBER (5) VARCHAR2 (25) VARCHAR2(30) NUMBER (15) VARCHAR2(50) D_CLT_CLIENT_NUMBER_PK (CLIENT_NUMBER) D_PARTNERS 10 FIRST NAME LAST_NAME EXPERTISE SPECIALTY NUMBER (5) VARCHAR2 (25) VARCHAR2(30) VARCHAR2(25) VARCHAR2(25) AUTH EXPENSE AMT NUMBER (82) MANAGER JO NUMBER (5) PARTNER TYPE VARCHAR2(25) D_PTR_ID_PK (0) D.THEMES CODE NUMBER (10) DESCRIPTION VARCHAR2(100) D_TME_CODE_PK (CODE) D_PACKAGES CODE NUMBER (10) *LOW RANGE NUMBER (0) *HIGH_RANGE NUMBER (8) D_PKE_CODE_PK (CODE) D_VENUES NUMBER (5) VARCHAR2(30) VARCHAR2(100) *LOC_TYPE ADDRESS RENTAL FEE VARCHAR2 (50) COMMENTS VARCHAR2 (100) D_VNE JO_PK (10) DJs on Demand Table Design D_PLAY_LIST_ITEMS NUMBER (5) NUMBER (5) PF EVENT ID P SONO D COMMENTS VARCHAR2(0) DPLM_PK (EVENT ID, SONG_ID) DPLM_EVENT_O_FK (EVENT_ID) D_PLM_SONG_ID_FK (SONO_ID) 10 TITLE DURATION D SONGS ARTIST TYPE CODE D_SNG JD PK (0) D_SNG_TYPE_CODE_FK(TYPE_CODE) D_COS CD NUMBER NUMBER (5) TITLE *PRODUCER YEAR NUMBER (5) VARCHAR2 (50) VARCHAR2 (20) VARCHAR2 (20) NUMBER (10) D_TRACK LISTINGS PF SONG ID NUMBER (5) PF CD NUMBER NUMBER (5) TRACK NUMBER (2) D_TLG_PK (SONG JO. CD_NUMBER) D_TLG CD NUMBER FK (CD_NUMBER) D_TLG_SONG_ID_FK (SONG_ID) SONO_ID_IDX (SONG_ID) VARCHAR2 (50) VARCHAR2 (50) VARCHAR2(4) D_COS_CO_NUMBER_PK (CD_NUMBER) D_COS IDX (TITLE) D_TYPES D JOB ASSIGNMENTS NUMBER (5) NUMBER (5) DATE VARCHAR2 (50) D_JAT PK (PARTNER_ID, EVENT_ID) D_JAT_EVENT_ID_FK (EVENT_ID) DJAT_PARTNER_ID_FK (PARTNER_ID) PF PARTNER ID PF EVENT D JOB DATE STATUS CODE DESCRIPTION D_TPE_CODE_PK (CODE) NAME EVENT DATE DESCRIPTION D_EVENTS COST VENUE O *PACKAGE CODE *THEME CODE F CLIENT NUMBER DEVE_ID_PK (D) DEVE CLIENT NUMBER FK (CLIENT_NUMBER) D_EVE PACKAGE CODE FK (PACKAGE_CODE) DEVE THEME_CODE FK (THEME_CODE) DEVE_VENUE_ID_FK (VENUE_ID) NUMBER (10) VARCHAR2(50) NUMBER (5) VARCHAR2 (50) DATE VARCHAR2 (50) NUMBER (82) NUMBER (5) NUMBER (10) NUMBER (10) NUMBER (5) D_CLIENTS *CUENT NUMBER *FIRST NAME LAST NAME PHONE EMAIL NUMBER (5) VARCHAR2 (25) VARCHAR2(30) NUMBER (15) VARCHAR2(50) D_CLT_CLIENT_NUMBER_PK (CLIENT_NUMBER) D_PARTNERS 10 FIRST NAME LAST_NAME EXPERTISE SPECIALTY NUMBER (5) VARCHAR2 (25) VARCHAR2(30) VARCHAR2(25) VARCHAR2(25) AUTH EXPENSE AMT NUMBER (82) MANAGER JO NUMBER (5) PARTNER TYPE VARCHAR2(25) D_PTR_ID_PK (0) D.THEMES CODE NUMBER (10) DESCRIPTION VARCHAR2(100) D_TME_CODE_PK (CODE) D_PACKAGES CODE NUMBER (10) *LOW RANGE NUMBER (0) *HIGH_RANGE NUMBER (8) D_PKE_CODE_PK (CODE) D_VENUES NUMBER (5) VARCHAR2(30) VARCHAR2(100) *LOC_TYPE ADDRESS RENTAL FEE VARCHAR2 (50) COMMENTS VARCHAR2 (100) D_VNE JO_PK (10)
Expert Answer:
Answer rating: 100% (QA)
Create a Cross join that displays the columns in the dplaylistitems and the dtracklistings in the DJs on Demand database SELECT FROM DPLAYLISTITEMS DT... View the full answer
Related Book For
Intermediate Accounting
ISBN: 978-0324592375
17th Edition
Authors: James D. Stice, Earl K. Stice, Fred Skousen
Posted Date:
Students also viewed these accounting questions
-
On the first day of class last semester, 50 students were asked for the one-way distance from home to college (to the nearest mile).The resulting data follow: a. Construct a grouped frequency...
-
Partner D is a 10 percent general partner in ABCD Partnership. The partnership's financial records for the current tax year reveal the following: Gross receipts from sales . . . . . . . . . . . . . ....
-
O O O O O O O O O O E E O O E E Use the given sequence to determine the values of n1 n2, the number of runs G, and the 5% cutoff values from Table A-10.
-
Karamazov Semiconductors is considering an investment to expand its existing line of business. The investment will cost $10 million and is expected to produce after-tax cash flows of $1 million per...
-
Shown below are partial results from using the Bonferroni test with the sample data from Exercise 13. Assume that a 0.05 significance level is being used. a. What do the displayed results tell us? b....
-
Assume that a Logan Burger restaurant has the following perpetual inventory record for hamburger patties: At July 31, the accountant for the restaurant determines that the current replacement cost of...
-
Perform the order-of \(-\epsilon^{2}\) approximation for the problem of diffusion with reaction in a catalyst of variable activity. Compare the flux with that obtained from the BVP4C solver in...
-
Information related to Banzai Books Ltd. is as follows: balance per books at October 31, $41,847.85; November receipts, $173,528.91; November disbursements, $166,193.54; balance per bank statement at...
-
Express as a composition of two functions; that is, find g and h such that f = goh. [Note: Each exercise has more than one solution.] - 18. y = 1 |x 3|
-
A Y-connected load, with Z A = 10 0 , Z B = 10 60, and Z C = 10 60 , is connected to a three-phase, three-wire, ABC system having effective line voltage 141.4 V. Find the load voltages V AO , V BO...
-
A MIPS processor has a 32-bit address bus with and a cache memory to hold 8K (=2^13) memory words. If a 4-way set associated cache is used to implement cache with a block size of 8 main memory words...
-
Carson is accepted for a 20/10 balloon mortgage at 4.27%. If Carson finances $235,750, how much will his balloon payment be?
-
In order for Miles to purchase a boat in eight years, he will deposit $150 every quarter to a savings account with 2.98% interest, compounded monthly. What is the future value of this account in...
-
A company's $100 par value preferred stock with a dividend rate of 15% per year is currently priced at $105.85 per share. The company's earnings are expected to grow in an annual rate of 3% for the...
-
1 Describes the relationship between nominal returns, real returns and inflation 2 The annual coupon payment dividend divided by the current bond price 3 When a company buys back its own shares in an...
-
Quoted market rate: 0.7627/$ Quoted market rate: SFr 1.1806/$. . You learned that UBS is making a direct market between the Swiss franc and the euro, with a current quote 0.6395/SFr. What is the...
-
Exercise 8.1. Dimensionality of data arrays Using figure 8.1 as reference, list the dimension of each signal (s1 to s14) of table 8.3. Write also the number of wires needed to physically implement...
-
(a) With not more than 300 words, examine why Malaysia missed its 2020 targets to divert 40% of waste from landfills and increase recycling rates to 22%. (10 marks) b) Why arent Malaysian recycling?...
-
On January 1, Reschke Company signed a 1-year rental for a total of $90,000, with quarterly payments of $22,500 due at the end of each quarter. In addition, the renter must pay contingent rent of 3%...
-
Describe the differences between pension plans and other postretirement benefit plans.
-
Match the numbered statements below with the lettered terms. An answer (letter) may be used more than once, and some terms require more than one answer (letter). 1. Key ingredients in quality of...
-
If investors are holding optimal portfolios, how will the portfolios of a more risk averse and a more risk-tolerant investor differ?
-
Using the data from Table 11.3, what is the covariance between the stocks of Alaska Air and Southwest Airlines? Alaska Southwest Ford General Microsoft HP Air Airlines Motor Kellogg Mills Volatility...
-
According to the managerial entrenchment theory, managers choose capital structures so as to preserve their control of the firm. On the one hand, debt is costly for managers because they risk losing...
Study smarter with the SolutionInn App