Ultimate access to all questions.
A data engineer is tasked with processing data from an e-commerce application. They have two tables: orders
and customers
. The schema and sample data are as follows:
orders
: order_id bigint, order_customer_id bigint, items array
customers
: customer_id bigint, customer_name string, customer_email string
The goal is to retrieve customer details along with the number of items in each of their orders. Which of the following code blocks achieves this?