You asked

Is the sony e 20mm f 2 8 good for landscape?

Here is what the site says about that.

From Sony E 20mm f/2.8: Sony E 20mm f/2.8: A prime lens by Sony for APS-C cameras, 20mm f/2.8. Specs - Maker: Sony - Focal length: 20mm (prime) - Maximum aperture: f/2.8 - Made for: APS-C sensors - Mounts: Sony E - Stabilised: no - Autofocus: yes What it frames like - On APS-C (Sony E): like 30mm on full frame; f/2.8 gives about the depth of field of f/4.2 there. - On the larger-sensor bodies of Sony E: ...

From Nikon Z 20mm f/1.8 S: Nikon Z 20mm f/1.8 S: A prime lens by Nikon for Full frame cameras, 20mm f/1.8. A fast wide prime, popular for landscapes and night skies.

Quoted from this site's pages.

From these pages