Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

[feature] implement WITH (Common Table Expressions) #37

Open
BohuTANG opened this issue Feb 26, 2020 · 2 comments
Open

[feature] implement WITH (Common Table Expressions) #37

BohuTANG opened this issue Feb 26, 2020 · 2 comments
Labels
P1 Medium priority

Comments

@BohuTANG
Copy link
Contributor

Summary

MySQL 8.0 CTE:

WITH
  cte1 AS (SELECT a, b FROM table1),
  cte2 AS (SELECT c, d FROM table2)
SELECT b, d FROM cte1 JOIN cte2
WHERE cte1.a = cte2.c;

https://dev.mysql.com/doc/refman/8.0/en/with.html#common-table-expressions

@BohuTANG BohuTANG added the P1 Medium priority label Feb 26, 2020
@tlightsky
Copy link

this feature is cool,
will vecotrsql have the same storage fromat as clickhouse btw?

@BohuTANG
Copy link
Contributor Author

BohuTANG commented Feb 26, 2020

this feature is cool,
will vecotrsql have the same storage fromat as clickhouse btw?

Yes, it is preferred.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P1 Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants