GithubHelp home page GithubHelp logo

Add support for WITH clause about dsql HOT 5 CLOSED

atk4 avatar atk4 commented on August 16, 2024 2
Add support for WITH clause

from dsql.

Comments (5)

romaninsh avatar romaninsh commented on August 16, 2024

Further reading:

from dsql.

romaninsh avatar romaninsh commented on August 16, 2024

@tasso85 , thanks for suggesting the feature. I have expanded your definition to be more specific about implementation, in case someone might decide to implement it.

from dsql.

DarkSide666 avatar DarkSide666 commented on August 16, 2024

This syntax is specific for DB engine, so it should be implemented somewhere in extended engine-specific classes.

from dsql.

tasso85 avatar tasso85 commented on August 16, 2024

It doesn't seem specific to a DB engine to me:

https://www.postgresql.org/docs/9.1/static/queries-with.html
https://msdn.microsoft.com/en-us/library/ms175972.aspx
https://mariadb.com/kb/en/mariadb/with/
http://mysqlserverteam.com/mysql-8-0-labs-recursive-common-table-expressions-in-mysql-ctes/

they all seem to use the same syntax (even though it is still not implemented in MySQL, but is available in MariaDB)

From Wikipedia:

Common table expressions are supported by Teradata, DB2, Firebird,[14] Microsoft SQL Server, Oracle (with recursion since 11g release 2), PostgreSQL (since 8.4), MariaDB (since 10.2), SQLite (since 3.8.3), HyperSQL and H2 (experimental).[15] Oracle calls CTEs "subquery factoring".[16] Though MySQL does not support common table expressions there exists a demonstration of WITH RECURSIVE emulation[17] using stored procedures.

from dsql.

DarkSide666 avatar DarkSide666 commented on August 16, 2024

MySQL 8.x now also supports WITH.

from dsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.