Looking for Database Systems 2 (P-ITSZT-0057) test answers and solutions? Browse our comprehensive collection of verified answers for Database Systems 2 (P-ITSZT-0057) at moodle.ppke.hu.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
In a few sentences, summarize the key points, findings, and main messages from the last lecture.
Write an SQL query to check, whether current data violates the T1.B->T1.C functinal dependency. Please explain, how to interpret the result of the query (data violates, data does not violate FD).
Given the following database schema, which of the functional dependencies are guaranteed?
What happens during a drill-down operation?
Which statements describe a star schema?
What are the main characteristics of a fact table?
Which of the following describe the purpose of a data warehouse?
Which statements correctly describe the ETL process?
You have a table orders:
| column | type |
|---|---|
order_id | INT (PK) |
customer_id | INT |
order_date | DATE |
amount | DECIMAL(10,2) |
Write an SQL query to calculate the total spend per customer and rank customers by total spend (highest spender = rank 1)Example result:
| customer_id | total_spend | rank_in_all_customers |
|---|---|---|
| 201 | 1200 | 1 |
| 105 | 950 | 2 |
| 309 | 700 | 3 |
Which of the following statements about SQL queries are correct?