You asked

Can I adapt the pentax smc da 12 24mm f 4 ed al if to sony e?

The guide can't say whether the Pentax smc DA 12-24mm f/4 ED AL [IF] works on Sony E. The lens page lists only the Pentax K mount, and its camera list covers Pentax K bodies alone. Nothing on this site confirms an adapter route to a Sony E camera, so treat that as unknown.

The site does cover adapting in general. The lenses page notes that mirrorless mounts are shallow, so old manual-focus lenses from film cameras adapt easily and cheaply, which makes for a fun way to try them without autofocus. That advice is about manual film lenses, though. This is an autofocus APS-C zoom, and the guide has no information on whether it would focus or meter properly on a Sony body.

On its own terms, the lens is a good fit for APS-C landscapes. The lens page says it frames like 18-36mm on full frame, and f/4 gives about the depth of field of f/6 on APS-C. The landscape page calls a wide zoom, around 10-24mm on APS-C, the classic landscape lens, and says f/4 zooms suit landscapes because you'll usually shoot between f/8 and f/11 anyway. If Sony E is your system, check the lens and adapter details with the seller before buying.

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}.