Premium Only Content

Como criar RELATÓRIO em SQL - Base de VENDAS para BI
Vamos aprender a construir um RELATÓRIO em SQL sobre um banco de dados de VENDAS da Olist.
Link para o Miro:
https://miro.com/app/board/uXjVOjrTB4E=/?share_link_id=200399748761
00:00:00 Introdução
00:00:50 Projeto
00:01:46 Base de Dados
00:03:00 Conhecendo os Dados
00:11:05 Estratégia de Trabalho
00:14:44 Distancia por Haversine
00:16:30 SELECT e WHERE
00:17:36 LEFT JOIN
00:17:36 GROUP BY
00:20:20 Relacionamento um para muitos
00:23:15 GROUP BY
00:26:33 Variável local utilizando WITH
00:21:40 Markdown resumindo o Projeto
00:34:34 Lat e Long de "geolocation" para "sellers"
00:40:05 Lat e Long de "geolocation" para "customers"
00:41:23 UF, Cidade, Lat e Long de "customers" para "orders"
00:44:34 UF, Cidade, Lat, Long e Data_Entrega de "orders" para "order_items"
00:46:47 Categoria de Produto, Peso e Volume_m³ para "order_items"
00:50:12 UF, Cidade, Lat e Long dos "sellers" para "order_items"
00:52:52 Adicionar distância por Haversine
00:56:41 CREATE TABLE
00:57:59 Checar quantidade de linhas
00:59:55 Exportar CSV pelo pgAdmin
01:02:14 Final
-
LIVE
ttvglamourx
36 minutes agoHAPPY SUNDAY<3 !DISCORD
128 watching -
13:50
Nikko Ortiz
23 hours agoStop Hurting Yourself For Views.
36.2K15 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
108 watching -
37:47
Welker Farms
1 day ago $11.31 earnedWEIGHT and COST Finally Revealed! Monster BIG BUD!
35.4K10 -
LIVE
Pepkilla
1 hour agoBattlefield 6 Two Weeks Until BR
59 watching -
26:54
SouthernbelleReacts
2 days ago $14.30 earnedI Can’t Believe How INTENSE This Got! | [REC] (2007) Reaction
32.8K7 -
LIVE
DRE ONYX
9 hours ago🚨🔴LIVE - TRIPLE THREAT CHALLENGE #1 RANKED 6'10 POINT GAWD | !build !cam !join !member !psn
17 watching -
LIVE
xBuRnTx
1 hour agoARC Raiders - Server SLAM - Squad UP
32 watching -
16:04
Mrgunsngear
19 hours ago $24.32 earnedMcCoy 12ga Single Shot Shotgun Test 👀
120K7 -
10:00
It’s the Final Round
20 hours ago $3.31 earned💰NFL Week 7 Best Bets🔥Player Prop Picks, Parlays, Predictions FREE Today October 19th
27.6K4