Sektion 1. Kapitel 16
single
Challenge: Optimize a Join Query
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 16
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat