I am using Postgres and have this query:
select d.id,d.santoral_id,d.tipointencion_id from intencion_detalle d
join intencion i ON (i.id=d.intencion_id)
where i.fecha='2017-08-29';
I want the row 6 and 7 that has the same santoral_id and tipointencion_id to be shown only once not multiple times, and in the same query I want to show the column description that is not in the image but exist in the table. How can I do this?
