I have a workflow which looks like below.
The first task of this workflow runs a simple select * query and the next one sends an email. They are working
select * query