Page on unnest should mention "generate_subscripts", without which unnest is often almost useless.
unnest