The second instance returns the full query string showing the
"inner joins." But the first one does not show any "inner join" in
the query string even though we all know there was a join that was
performed.
'to_sql' method should behave consistently especially if
framework users are given the impression that to_sql always returns
the full query that was used.