users Please see on the right a DWH diagram of an e-commerce platform. user ID integer user city text user gender text user regstration timestamp timestamp In the informations table you can find the sum of all online marketing advertisement impressions (info_impressions) and clicks (info_clicks) for the respective event timestamps and the respective marketing channels, through which the (potential) contacts sale 0 integer sale user ID integer sale timestamp timestamp sale type text contact user ID iteger contact chennel0 text contact timestamp timestamp contact inent boolen customers came. The table does not channals contain details about individual channel ID tut channel name text customers. payments Informations The channels table is a lookup between channel names like "SEM" or "AFF" and the assigned alphanumerical channel IDs. DIYsale D integer DIY timestame timestamp pRY amount numerie info channel D test info timestame timestamp info cicks integer info impressions integer In order to perform activities other than advertisement views and clicks, a customer (user) needs to register on the platform, meaning to provide some personal details like address or gender. Not all of these details are mandatory for the registration. At the moment the customer registers on the platform, a row is created in the users table and a user ID is assigned to the customer. All online advertisement views and clicks during a customer's lifecycle are tracked (if possible), before as well as after registration. The aggregates of these events are provided in the informations table, see above. Additionally, if applicable, at the moment of registration rows are created in the contacts table for all of the customer's previous advertisement clicks with the respective user ID, channel and timestamp of the click (contact_timestamp = info_timestamp). After the registration any tracked advertisement click by the customer is also stored in the contacts table. The registration itself is not considered a contact. The contact_is_last field is always updated accordingly and at any point time it is true for only one row per customer. When the registered customer does a purchase on the platform, it creates a row in the sales table and when the item is paid, a row in the payments table. The relations between tables are defined by the names, e. g. contacts.contact_user_ID refers to users.user_ID. A registered user does not need to have any contacts or sales. For each task below (1a to 3b) only one query is expected, which would give exactly one result set as
users Please see on the right a DWH diagram of an e-commerce platform. user ID integer user city text user gender text user regstration timestamp timestamp In the informations table you can find the sum of all online marketing advertisement impressions (info_impressions) and clicks (info_clicks) for the respective event timestamps and the respective marketing channels, through which the (potential) contacts sale 0 integer sale user ID integer sale timestamp timestamp sale type text contact user ID iteger contact chennel0 text contact timestamp timestamp contact inent boolen customers came. The table does not channals contain details about individual channel ID tut channel name text customers. payments Informations The channels table is a lookup between channel names like "SEM" or "AFF" and the assigned alphanumerical channel IDs. DIYsale D integer DIY timestame timestamp pRY amount numerie info channel D test info timestame timestamp info cicks integer info impressions integer In order to perform activities other than advertisement views and clicks, a customer (user) needs to register on the platform, meaning to provide some personal details like address or gender. Not all of these details are mandatory for the registration. At the moment the customer registers on the platform, a row is created in the users table and a user ID is assigned to the customer. All online advertisement views and clicks during a customer's lifecycle are tracked (if possible), before as well as after registration. The aggregates of these events are provided in the informations table, see above. Additionally, if applicable, at the moment of registration rows are created in the contacts table for all of the customer's previous advertisement clicks with the respective user ID, channel and timestamp of the click (contact_timestamp = info_timestamp). After the registration any tracked advertisement click by the customer is also stored in the contacts table. The registration itself is not considered a contact. The contact_is_last field is always updated accordingly and at any point time it is true for only one row per customer. When the registered customer does a purchase on the platform, it creates a row in the sales table and when the item is paid, a row in the payments table. The relations between tables are defined by the names, e. g. contacts.contact_user_ID refers to users.user_ID. A registered user does not need to have any contacts or sales. For each task below (1a to 3b) only one query is expected, which would give exactly one result set as
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Please solve the the given Questions.
Especially the 3 one is very important.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY