is it possible to use/run webmethode template tag in SQL sta

Hi all,

Could someone tell me if is it possible to use/run
webmethode template tag in SQL statement ?
Is there a document manual how I can use it ?

I try to do the something as the underneath

%myInput=?%
%myColumnName=?%

Select * from table1,table2
where %myColumnName = myInput%

But it does not work.

Could you please give me a glue/help ?

Thanks,
Quoi