Skip to main content

Anatomy of a DPQL query

in DPQL Reference
Authors list
Paskelbta: 2018-03-23|Paskutinį Kartą Atnaujinta: 2022-11-03

Once you have selected to edit or build a new stat, the stat builder gives you both a guided process, as well as raw DPQL.

DPQL queries consists of a series of clauses:

  • SELECT select expression

  • FROM database table

  • [WHERE conditions]

  • [SPLIT BY split fields]

  • [GROUP BY group fields]

  • [ORDER BY order fields]

  • [LIMIT amount [OFFSET offset amount]

  • [LAYER WITH another query]

  • [IN subquery]

  • [UNION another subquery]

Clauses in [square brackets] are optional.

Italic text is a placeholder for a value that you enter.**

Note


If you want your query to refer to a particular item (e.g. one of your departments), you will often refer to the item by its ID number.

NaudingasNenaudingas

0 iš 1 žmonių mano, kad šis puslapis naudingas

Pages in Anatomy of a DPQL query

SELECT
Authors list
Paskelbta: 2018-05-22
Paskutinį Kartą Atnaujinta: 2022-11-03
FROM
Authors list
Paskelbta: 2017-03-16
Paskutinį Kartą Atnaujinta: 2022-11-03
WHERE
Authors list
Paskelbta: 2018-03-23
Paskutinį Kartą Atnaujinta: 2022-11-03
SPLIT BY
Authors list
Paskelbta: 2017-03-16
Paskutinį Kartą Atnaujinta: 2022-11-03
ORDER BY
Authors list
Paskelbta: 2018-03-23
Paskutinį Kartą Atnaujinta: 2022-11-03
LIMIT / OFFSET
Authors list
Paskelbta: 2017-03-16
Paskutinį Kartą Atnaujinta: 2022-11-03
LAYER WITH
Authors list
Paskelbta: 2018-03-23
Paskutinį Kartą Atnaujinta: 2022-11-03
IN
Authors list
Paskelbta: 2018-03-23
Paskutinį Kartą Atnaujinta: 2022-11-03
UNION
Authors list
Paskelbta: 2018-03-23
Paskutinį Kartą Atnaujinta: 2022-11-03
next pageGeneral Expression Format
previous pageMaking a Report

Please log in or register to submit a comment.