Update Query.generate() to prevent data mix

`SELECT sometable.* FROM sometable` is now the base `Entity.query(...)` SQL Query