You asked

Is the sigma 20 60mm f 2 8 4 dg contemporary good for astrophotography?

The guide doesn't cover astrophotography, so it can't rate this lens for night-sky work. The lens page does give the specs that matter most for that kind of shooting. The Sigma 20-60mm f/2.8-4 DG Contemporary starts at a true ultra-wide 20mm on full frame. Wide framing is the main thing you want for the Milky Way, and f/2.8 at 20mm gathers light well. The aperture drops to f/4 by 60mm, and the lens is not stabilised.

Stabilisation steadies the camera, not the stars, so its absence matters less than the lens's speed and the sensor's size. Stars trail during long exposures, so for the night sky the lens's wide end is the part to judge. Its speed at 20mm is useful, but the page doesn't say how it handles coma or edge sharpness at f/2.8, so check sample images before buying.

The lens works on full frame Sony E and L-Mount bodies, and the page lists many of them. Pair it with a full frame body such as the Sony a7 III if you already own a Sony E mount. For general wide scenes, the landscape guide covers how a wide zoom fits a shooting style.

If you tell the guide your camera, budget and what you shoot, it can compare this lens with a wide prime for the same job.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.