Select (TQL)

From Tygron Support wiki
Revision as of 15:40, 13 February 2023 by Frank@tygron.nl (talk | contribs) (Created page with "The <code>SELECT</code> statement for TQL provides a means of obtaining data of a session. The 'Select' statement is consists of the <code>SELECT</code> word followed by a Selection type and the word <code>WHERE<code>. Depending on the Selection Type one or more clauses can be added. Clauses are separated with the <code>AND</code> word. All of these parts are separated by an underscore <code>_</code>. An example of a TQL select statement...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The SELECT statement for TQL provides a means of obtaining data of a session. The 'Select' statement is consists of the SELECT word followed by a Selection type and the word WHERE. Depending on the Selection Type one or more clauses can be added. Clauses are separated with the AND word. All of these parts are separated by an underscore _. An example of a TQL select statement is: SELECT_LOTSIZE_WHERE_CATEGORY_IS_SOCIAL_AND_STAKEHOLDERTYPE_IS_MUNICIPALITY. In this example, SELECT_LOTSIZE_WHERE is the statement. CATEGORY_IS_SOCIAL is the first clause, and STAKEHOLDERTYPE_IS_MUNICIPALITY is the second clause. It would return all the land area taken up with social housing, which is also owned by a municipal stakeholder.