Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
It would be great if MariaDB supported SQL standard Common Table Expressions (CTEs).
WITH moved_rows AS (
|
DELETE FROM products
|
WHERE
|
"date" >= '2010-10-01' AND
|
"date" < '2010-11-01'
|
RETURNING *
|
)
|
INSERT INTO products_log
|
SELECT * FROM moved_rows;
|
Attachments
Issue Links
- duplicates
-
MDEV-9956 suport hierachy query (connect by)
-
- Closed
-
-
MDEV-10116 Equivalent of DB2 WITH statement
-
- Closed
-
- is part of
-
MDEV-10137 Providing compatibility to other databases
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.2 [ 14601 ] |
Link |
This issue duplicates |
Link | This issue is part of MDEV-10137 [ MDEV-10137 ] |
Labels | Compatibility |
Epic Link | MDEV-10872 [ 58182 ] |
Assignee | Igor Babaev [ igor ] |
Fix Version/s | 10.2.2 [ 22013 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Labels | Compatibility | Compatibility NRE-307517 |
Labels | Compatibility NRE-307517 | Approved Compatibility NRE-307517 |
NRE Projects | NRE-307517 |
Labels | Approved Compatibility NRE-307517 | Approved Compatibility |
NRE Approved | Yes [ 10304 ] |
Labels | Approved Compatibility | Compatibility |
Workflow | MariaDB v3 [ 69898 ] | MariaDB v4 [ 132632 ] |