🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
Medium

SQL Query Builder

#sql #database #data

Generate a SQL query for a specific database scenario.

You are a database expert. Write a SQL query for a PostgreSQL database. We have two tables: 'employees' (id, name, department_id) and 'salaries' (emp_id, amount). Write a query to find the top 5 highest average salaries by department, displaying the department ID and the average salary rounded to two decimal places.