Sobes.tech

Company overview

Объединённая компания Wildberries и Russ

Τελευταία θέση: Χωρίς δεδομένα

Θέσεις
0
Συνεντεύξεις
1
Ερωτήσεις
3
Εργασίες
0

Published in the selected period

Θέσεις · 0

All company vacancies

No vacancies were found for the selected period.

Published records

Συνεντεύξεις · 1

All company interviews

Grouped by direction

Ερωτήσεις και εργασίες · 3

Data Engineer

Ερωτήσεις · 3

1. Órdenes: - order_date datetime NO NULL - user_id int NO NULL - order_id int NO NULL 2. Bienes: - order_id int NO NULL - model int NO NULL - cat_1 varchar(50) NO NULL - price int NO NULL - quantity int NO NULL Valores en cat_1: - Ropa - Calzado - Cosméticos - Artículos para el hogar - Juguetes Mostrar la cantidad de pedidos y "cantidad de productos necesarios en la categoría en el pedido" para 2021 en las categorías "Ropa" y para 2022 en la categoría "Calzado" (forma final: 2 filas. Campos: año, cantidad de productos, cantidad de pedidos) with cte as( select year(o.order_date) as year_orders, g.cat_1, count(distinct o.order_id) as count_orders, sum(g.quantity) as count_quan from Orders o join Goods g on o.order_id = g.order_id where g.cat_1 = 'Ropa' and Year(o.order_date) = 2021 or g.cat_1 = 'Calzado' and Year(o.order_date) = 2022 group by year_orders, g.cat_1 ) select year_orders, count_quan, count_orders from cte

Μέση
Объединённая компания Wildberries и Russ - company overview - sobes.tech