Sectie 1. Hoofdstuk 16
single
Challenge: Optimize a Join Query
Veeg om het menu te tonen
Taak
Swipe to start coding
Rewrite a join query to improve its performance by using indexed columns and efficient join conditions.
- Use only the columns and tables provided in the initial schema.
- Ensure that joins are performed on primary or foreign key columns.
- Use table aliases for clarity and brevity.
- Return each student's ID, name, class name, teacher name, subject, and score, but only for scores greater than 80.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 16
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.