I want to make a query in MYSQL that allows me to join two data in a field, the field is defined as an INT and I am doing the query by means of a where in but the problem is that it shows them to me but I have used several functions separately as CONCAT
or GROUP_CONCAT
but none turns out to be correct, here are some screenshots
My main goal is to show me only in the column that says farms, just a row where this 1.2 I only want that, I would be grateful if you will help me
here I leave the code of the SQL query
SELECT GROUP_CONCAT(granja_id) AS total FROM formulario_precebo WHERE granja_id IN (1,2) GROUP BY granja_id