CreateViewPage and JoinPage works correctly, changed some JDBC queries