SQL Query Alternatives

Discussions center on alternatives to traditional SQL, such as PRQL, LINQ, Kusto, and other composable, pipelined query languages or DSLs that transpile to SQL for improved ergonomics and expressiveness.

📉 Falling 0.4x Databases
2,941
Comments
20
Years Active
5
Top Authors
#2553
Topic ID

Activity Over Time

2007
3
2008
7
2009
34
2010
72
2011
68
2012
73
2013
113
2014
133
2015
125
2016
107
2017
158
2018
177
2019
186
2020
214
2021
254
2022
340
2023
267
2024
347
2025
253
2026
10

Keywords

NewSql CLI FogBugz blog.jooq FP SelectMany slick.org CTE LINQ lang.org sql query language syntax queries querying languages simple dsl relational

Sample Comments

whakojacko Jun 21, 2011 View on HN

Have you seen squeryl? Its not quite as nice as LINQ, but its definitely a useful DSL

tehlike Sep 14, 2024 View on HN

As far as query languages go, you may want to look into prql, kusto or google's alternative (i forgot its name). They are composable, and more natural.

manigandham Mar 2, 2018 View on HN

That looks like going back to imperative/functional instead of the declarative syntax of SQL...Have you used C# before? I think the LINQ query syntax could be a good evolution for some uses cases, but it again goes back to decades of dialects already being defined. Seems anything new would have to be implemented as some kind of proxy that then maps back to SQL or uses low level db access, but then why not just use an ORM or query builder in the first place and query from inside a languag

anotherhue Feb 13, 2023 View on HN

PRQL: a simple, powerful, pipelined SQL replacementhttps://news.ycombinator.com/item?id=34181319Also: https://github.com/ajnsit/languages-that-compile-to-sql

392 Mar 23, 2024 View on HN

You may like PRQL, which gives a more composable-atoms based approach. I find it far easier than SQL.

tehlike Sep 6, 2024 View on HN

This is like the lambda / Linq on .NET. Well done. Take a look at PRQL too. You may enjoy it, it may even help you simplify query transformations to sql.

aerzen Dec 24, 2025 View on HN

For the last year, I've been working on a query language that aims to replace SQL and data frame libraries. It's continuation of my work on PRQL and EdgeQL.Now I need feedback on usability, ergonomics and overall design. Read trough the examples, check out the CLI & tell me what could be better.

cricketlover Aug 24, 2024 View on HN

Do we need another language for querying relqtional data? Why not just use SQL?

dang Jan 25, 2024 View on HN

Related:PRQL: Pipelined Relational Query Language - https://news.ycombinator.com/item?id=36866861 - July 2023 (209 comments)PRQL: a simple, powerful, pipelined SQL replacement - https://news.ycombinator.com/item?id=34181319 - Dec 2022 (215 comments)Show HN: PRQL 0.2 – a better SQL - <a hre

blitmap Jan 21, 2020 View on HN

Something like this:https://en.wikipedia.org/wiki/Language_Integrated_Query