Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Classes Without Teachers | Handling NULLs, Performance, and Real-World Join Scenarios
SQL Joins in Depth

bookChallenge: Classes Without Teachers

Aufgabe

Swipe to start coding

Write a query to produce a list of all classes along with their assigned teacher names. If a class does not have a teacher assigned, display 'Unassigned' as the teacher name instead.

  • Select the class ID and class name from the classes table.
  • Include the teacher's name for each class using a join with the teachers table.
  • For classes without an assigned teacher, display 'Unassigned' as the teacher name.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 7
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Classes Without Teachers

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Write a query to produce a list of all classes along with their assigned teacher names. If a class does not have a teacher assigned, display 'Unassigned' as the teacher name instead.

  • Select the class ID and class name from the classes table.
  • Include the teacher's name for each class using a join with the teachers table.
  • For classes without an assigned teacher, display 'Unassigned' as the teacher name.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 7
single

single

some-alt