SQL Query Builder
Build SQL SELECT queries visually. Add columns, conditions, JOINs, and sorting with formatted output.
AS
SQL SELECT Queries - Détails techniques
SQL SELECT statements retrieve data from databases. Use WHERE for filtering, JOIN for combining tables, GROUP BY for aggregation, ORDER BY for sorting, and LIMIT for pagination. Different SQL dialects have minor syntax variations.
Alternative en ligne de commande
SELECT u.name, COUNT(o.id) as orders\nFROM users u\nLEFT JOIN orders o ON u.id = o.user_id\nWHERE u.active = true\nGROUP BY u.id\nORDER BY orders DESC;