Specify query with parameters

Specify query with parameters

Hi,

Is it possible to specify a sql query with filter parameters? Alternatively, is it possible to specify filters for a sql db table being imported?

Thanks,
Nick