{"slug":"intel-rallylive-ca-dev-sql-format-bbae05","title":"SQL formatter","host":"intel.rallylive.ca","method":"POST","resource":"https://intel.rallylive.ca/dev/sql-format","category":"other","description":"SQL formatter: upper-cases keywords, breaks the statement into SELECT/FROM/JOIN/WHERE/GROUP BY/ORDER BY clauses, one column per line, indents AND/OR, and reports the statement type, tables referenced and whether it looks like a write (INSERT/UPDATE/DELETE/DROP). Works on most ANSI SQL dialects. $0.0","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453","eip155:84532"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"select u.id, u.name, count(o.id) as orders from users u left join orders o on o.user_id = u.id where u.active = true and u.created_at > '2026-01-01' group by u.id, u.name order by orders desc limit 20"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"SQL formatter: upper-cases keywords, breaks the statement into SELECT/FROM/JOIN/WHERE/GROUP BY/ORDER BY clauses, one column per line, indents AND/OR, and reports the statement type, tables referenced and whether it looks like a write (INSERT/UPDATE/DELETE/DROP). Works on most ANSI SQL dialects. $0.01 per statement.","last_updated":"2026-09-13T10:27:06.758Z","schemes":["exact"]}