Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25755

Incomplete documentation for the `WITH` clause

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Trivial
    • Resolution: Unresolved
    • N/A
    • N/A
    • Documentation
    • None

    Description

      https://mariadb.com/kb/en/with/

      The `WITH` clause supports multiple CTEs in a single statement, e.g.:

      WITH a AS (SELECT 1),
      b AS (SELECT 2)
      SELECT a.*, b.* FROM a, b

      This (as far as I can see) is not documented anywhere.

      In my opinion, it should be documented at a minimum by changing the documented syntax to reflect the functionality, and optionally by mentioning it explicitly.

      Attachments

        Activity

          People

            greenman Ian Gilfillan
            vmsh0 Riccardo Paolo Bestetti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.