VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
intermediate

Generate a SQL Query

#sql #database #data

Write a SQL query to retrieve specific data based on natural language requirements.

Write a SQL query for a PostgreSQL database. We have two tables: 'Employees' (id, name, department_id) and 'Salaries' (employee_id, amount, year). Write a query to find the names of employees in the 'Sales' department who earned a salary greater than $50,000 in the year 2023.