You've got no where clause joining a and b together.