You asked
Does the sigma 20 60mm f 2 8 4 beat the sony 18 55mm for flowers on an a6100?
For flowers on an a6100, the guide leans towards the Sigma 20-60mm f/2.8-4 DG Contemporary, mainly because it is brighter. It opens to f/2.8 at its widest and f/4 at its longest, against f/3.5-5.6 for the Sony E 18-55mm f/3.5-5.6 OSS. The Portraits page explains why this matters for close subjects: a wide aperture gives a softer background, and blur grows as you get closer and as the background moves further away. A flower head against a green background is the same situation, so the Sigma can separate the bloom more cleanly.
The Sigma is made for full frame, but it works on the Sony a6100, which is APS-C with a 1.5 crop. On that body, 20-60mm frames like 30-90mm, a slightly longer reach than the Sony's 27-82mm equivalent at its long end.
The Sony gives up brightness, but it keeps stabilisation. The a6100 has none in the body, so the Sony's OSS steadies the camera when you shoot handheld in shade at slow shutter speeds. The Sigma has no stabilisation. Flowers don't move, so for still subjects the wider aperture usually matters more than stabilisation, but in dim light you will need a faster shutter or a tripod.
The guide's pages don't give either lens's closest focusing distance or a price for either lens, so it can't say which focuses closer for detail shots. Check that figure on each lens page before you buy, and if you want true close-ups, look for a dedicated macro lens.
For flowers, the guide's choice is the Sigma. Choose the Sony if you'd rather have stabilisation and a lighter, cheaper kit zoom for general use.
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}.