passing values between feeders

Hi I have a situation where I need to pass a value from 1 jdbcFeeder to another jdbcFeeder. Can someone give me an example on how to do that? My below example is not working

val data1 = jdbcFeeder("jdbc:postgresql://database/xyz?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory",
  "1234","1234",
  "select login_id as username from client"

 
val data1 = jdbcFeeder("jdbc:postgresql://database/xyz?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory",
  "1234","1234",
  "select address from locations where login_id = ${username}"

No, it’s not possible.

And it would be a very bad idea: you’d have Gatling hit your database during your load tests and polluting your results.

So my tests is using JDBCFeeder to pull infomration form DB and using that info, is there a way so that the my query does not pollute my results?