Challenge: Classes Without Teachers
Taak
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
classestable. - Include the teacher's name for each class using a join with the
teacherstable. - For classes without an assigned teacher, display 'Unassigned' as the teacher name.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 7
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Geweldig!
Completion tarief verbeterd naar 4.76
Challenge: Classes Without Teachers
Veeg om het menu te tonen
Taak
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
classestable. - Include the teacher's name for each class using a join with the
teacherstable. - For classes without an assigned teacher, display 'Unassigned' as the teacher name.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 7
single