{sql} select NAME, TITLE, DEPT from EMPDB.EMPLOYEE where START='{&DATE}' {/sql}The values that users provide can be specified on the htmSQL URL or collected from an HTML form that you link them to. If you nest a query in the eachrow section of another query section, your nested query can refer to variables in the results set of the encompassing query.
{sql} create table def.play (a numeric, b numeric, c numeric, d char, e char); {/sql} {sql} insert into def.play set a=1, b=2, c=3, d='xx', e='yy'; {/sql}