You have a table with page titles. You need to get a dynamic result table where rows correspond to the current page title.
Enter the following SQL query:
SELECT * FROM T1 WHERE T1.'Page Title' = @PAGETITLE |
Save the macro and the page.
The @pageTitle variable can be combined with other variables within the same query and successfully used in more complex SQL queries.
To learn more about the @currentUser variable, please visit the corresponding page.