Hi, Sherin!
I'm not much experiensed in JDBC communication but I doubt JDBC adapter ability to process your request the way you want it.
Wouldn't you tell about your requirements? Do you need two separate datasets from different tables or these datasets are linked?