🏠 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
intermediate

Generate SQL Query

#sql #database #query

Writes a SQL query for specific data retrieval based on requirements.

Write a SQL query for a table named 'employees' that has columns: id, first_name, last_name, department, and salary. The query should select the first name and last name of all employees who work in the 'Sales' department and earn more than 50000. Order the results by last name in ascending order.