The SQL Parameter
The sql parameter lets you filter, sort, aggregate, and transform your data using SQL queries — directly in the URL. The query runs against your data after it's fetched from the source, using SQLite
How It Works
Basic Syntax
?sql=SELECT * FROM csvgetter?sql=SELECT%20*%20FROM%20csvgetterExamples
1. Select All Data
SELECT * FROM csvgetter2. Select Specific Columns
3. Filter with WHERE
4. Multiple Conditions (AND / OR)
5. Comparison Operators
6. LIKE (Pattern Matching)
7. IN (Multiple Values)
8. ORDER BY (Sorting)
9. LIMIT (Row Count)
10. LIMIT with OFFSET (Pagination)
11. COUNT (Aggregation)
12. SUM, AVG, MIN, MAX
13. GROUP BY
14. GROUP BY with HAVING
15. DISTINCT
16. NULL Handling
17. String Functions
18. CASE Expressions
19. Column Aliases
Column Names with Spaces
Combining SQL with Other Parameters
Error Handling
Error
Cause
Fix
Supported SQL Features (SQLite)
Last updated