How to show all table rows using a nested query with SQL for Confluence
How to show all table rows using a nested query with SQL for Confluence
This article explains how to show all table rows using a nested query with the SQL for Confluence app.
Instructions
For this purpose, the inner query must use a join such that it provides data to the outer query. The query given here is an example; thus, use relevant fields and tables to get the required details from your database.
- Log into your Confluence instance, and create or edit a page.
- Enter {sql and select the SQL Query macro, or, search for the macro name and select it.
- Edit the macro, and, select Output format as Wiki and enter the following code:
The output of the above query is as follows:
, multiple selections available,
Related content
SQL for Confluence
SQL for Confluence
More like this
Advanced Tables for Confluence
Advanced Tables for Confluence
More like this
Overview - cloud
Overview - cloud
More like this
Release notes 10.1
Release notes 10.1
More like this
Release notes 8.6.2
Release notes 8.6.2
More like this
Release notes 8.6.1
Release notes 8.6.1
More like this