Sqldf questions in R studio

I'm afraid I'm not following what you mean. Can you post a reproducible example, so I can see what you're talking about?