Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 consider these two tables generated by a brand new music download app shown here along with their ERD. you will use these tables

Question 4
consider these two tables generated by a brand new music download app shown here along with their ERD. you will use these tables to answer questions three through seven. how many rows will there be in the result table of the correct query in question 3?
c) SELECT
u.username,
d.id download_id, d.file_name
FROM users u
JOIN downloads d ON
u.id = d.user_id;
Question 4(14.29 points)
Consider these two tables generated by a brand-new music downloading app, shown here along with their ERD. You will use these tables to answer questions 3 through 7.
users table
\table[[id,username,premium_user],[1001,ziggy,TRUE],[1002,aladdin,FALSE],[1003,duke,TRUE],[1004,tom,FALSE],[1005,jareth,FALSE]]
downloads table
\table[[id,user_id,file_name],[101,1002,space-oddity],[102,1004,heroes],[103,1002,heroes],[104,1005,heroes],[105,1001,rebel-rebel],[106,1002,rebel-rebel],[107,1005,fame],[108,1002,changes]]
ERD
ERD

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

Transactions On Large Scale Data And Knowledge Centered Systems Vi Special Issue On Database And Expert Systems Applications Lncs 7600

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2012th Edition

3642341780, 978-3642341786

More Books

Students also viewed these Databases questions