From the course: Fundamentals of Data Transformation for Data Engineering
Unlock the full course today
Join today to access over 24,100 courses taught by industry experts.
Lambdas and UDFs - SQL Tutorial
From the course: Fundamentals of Data Transformation for Data Engineering
Lambdas and UDFs
- [Instructor] So, we've covered most of the advanced SQL concepts that we're going to talk about. And this lesson's a little different. It talks about two things specific to DuckDB or specific to the SQL dialect you'll be working with. And so, that's an important point to note that different variants of SQL, so if you're writing against maybe a cloud native database like BigQuery or Redshift, these variants of SQL have different functionalities and so, you can do some things in certain variants that you can't in others. But one of the cool things about DuckDB is that it has a lot of functionality. So we can simulate some of the features that you'll bump into as you explore different SQL databases whether that be Postgres, or MySQL, or SQL Light. But the two concepts we're going to talk about here are Lambdas and UDFs. And UDFs stands for user-defined functions. The name is pretty much exactly what it sounds like. They're functions that we define and execute arbitrarily. I'll run the…
Contents
-
-
-
-
(Locked)
DuckDB basics and query structure4m 2s
-
(Locked)
Wrangling unstructured data10m 30s
-
(Locked)
Joins and comparisons10m 19s
-
(Locked)
Aggregations10m 16s
-
(Locked)
Windows functions: A quick refresher5m 41s
-
(Locked)
Window functions10m 15s
-
(Locked)
Advanced filters3m 9s
-
(Locked)
Advanced joins8m 12s
-
(Locked)
Lambdas and UDFs10m 3s
-
(Locked)
Data generation4m 52s
-
(Locked)
SQL challenge2m 37s
-
(Locked)
SQL solution13m 8s
-
(Locked)
-
-