Skip to content

Films · Computer science · SQL

Prof. Dr. Dirk Schieborn

AM3 Data Analysis and Machine Learning · Reutlingen University

Lecture film · AM3

Hamburg Customers, Flat Keys, Dead Links: Subqueries and Keys in SQL

Lecture film · AM3

Hamburg Customers, Flat Keys, Dead Links: Subqueries and Keys in SQL

Prof. Dr. Dirk Schieborn

AM3 Data Analysis and Machine Learning · Reutlingen University

A subquery is read from the inside out, and its result is a table. A foreign key turns a reference into a rule that the database watches over.

heyprof.app/f/am3-sql-unterabfragen

More films: Signature · Prof. Dr. Dirk Schieborn

0:03
−5:48
Chapter 1 · No value yet: NULL

Try the app yourself

We store questions without any link to you; selected ones appear anonymously as frequent questions.

Hamburg Customers, Flat Keys, Dead Links: Subqueries and Keys in SQL

Prof. Dr. Dirk SchiebornAM3 Data Analysis and Machine Learning · Reutlingen University

NewOct 30, 2026 · 6 chapters

An explainer film in six chapters, made from a real lecture: what NULL means and why it distorts the average, how short names for tables shorten a query and what the same statement looks like with join and on, why the database starts at from, how union throws two results into one pot, how to read a subquery from the inside out, and how primary and foreign keys prevent dead references. Pause anywhere and ask.

How a film works on heyprof

Every film here listens. Pause it, ask it questions and let it continue with your own examples.

  1. PauseTap pause or press the space bar. The film waits right at that moment.
  2. AskTap “Ask” and type what you want to know. The answer comes inside the film, with picture and voice.
  3. Steer itTell it what to show, for example “Do this with z = 2 − 3i”. The film sets up the app and works it out.
  4. Try it yourselfWhile it is paused, drag points and sliders yourself. “Continue” takes you back into the film.

Without an account: five questions per visit. With an account you can also ask by voice.

Comments