Search online to find trick to select tables that has no primary key relationships. I see some link
as below.
http://billfellows.blogspot.com/2011/04/find-tables-without-primary-key.html
http://datacharmer.blogspot.com/2011/09/finding-tables-without-primary-keys.html
You basically write the query in select field of the sender jdbc channel.