SQL:
How to
empower
your
de
cisions
José Cabeda
•
Data engineer since
2018
•
Born and
raised in P
or
to
•
D&D and book
worm
•
SQL first developer
•
AI CoE
(Mania
team)
Who
am I?
WWW.VWDS.PT
Data is
ever
ywher
e
Daily lives
CSV
/Excel
Files
Jso
n
files
1000’
s
o
f
online applications
Dat
abases
Why
SQL
?
SQL
= Structur
ed Query languag
e
Firs
t c
ommer
c
ial pr
oduct In
1979, Rela
tional Softwar
e,
Inc.
(now Or
ac
le)
ANSI Standar
d in 1986
SQL
Intr
odu
ction of Pr
operty gr
aph Queries
Enhanced JSON
Suppor
t
…
SQL
:2
023
ht
tp
s://www
.coginiti.c
o/blog
/the-evolution-
of
-sql-fr
om-sql-
86
-
to
-sql-
2023/
Data warehouses (3
º
gen
)
Ana
lytical
databases
(>T
B’s)
Re
lational database
s (1º
gen
)
Intr
odu
ce
ACID
No
sql
dat
abases
(2º
ge
n
)
Incr
ease
speed
at
the
cost
of cor
rectnes
s
Ev
entual
consi
stency
Intr
oduce json
lik
e
structur
es
Ge
nerations
SQL is
the language
o
f
da
ta
4º generation
Under
stand
you
r
fil
es
Ste
ampipe
U
nder
st
and your
app
licati
on
Duckdb
Duckdb
Ope
n
source
(MIT
License
)
In
me
mor
y
database
Mu
ltiple
client
API (CLI,
grap
hical
client,
pyt
hon, javascript,
et
c)
Ext
ensions
(csv
,
parquet, json,
ice
ber
g,
s
3)
Ex
plo
r
e
P
or
to
-
R
ealtime dat
a
-
Supports
buses,
metr
o
,
et
c
-
R
ealtime
-
schedule
trips
Ex
plo
r
e
P
or
to
-
How man
y bus
cancella
tion
ar
e?
-
And dela
ys?
-
Wha
t
can we find out
Demo
Tim
e
Que
r
y
A
PI
’
s and
co
de
bases
Jo
in betw
een data sou
r
c
es
Ste
ampip
e
•
Check DM
user
s vs open user
s
•
Check who
has MF
A enabled
•
…
Ste
ampipe
+ sla
ck
steampipe
plugin instal
l slack
Ste
ampipe
+ google
s
heets
•
Same s
ynt
ax
•
Join shee
ts
•
Join spr
eadsheets
steampipe
plugin instal
l go
oglesheets
Ste
ampipe
+
aws
steampipe
plugin instal
l aws
•
Check un
tagged
r
esources
•
Det
ect lambdas that requir
e runtim
e
upgr
ades
•
…
Tha
nk
you
Blog
:
cabeda.dev