<?xml version="1.0" encoding="iso-8859-1"?>
<turisoftreportfile title="Cantidad de servicios por tipo y día en un periodo [desde-hasta fecha]" breakpoint="" group="">
	<parameters>
		<param name=":1" description="Desde fecha" type="DATE" order="1" show="yes" default="" />
		<param name=":2" description="Hasta fecha" type="DATE" order="2" show="yes" default="" />
	</parameters>
	<sql>SELECT
	SERVPLANNING.Fecha,
	SERVICIOS."Descripción" AS SERVICIOS."Servicio",
	COUNT(*) AS SERVICIOS."Cantidad$SUM"

FROM
	SERVPLANNING,
	SERVICIOS
WHERE
	SERVPLANNING."Servicio"=SERVICIOS."Código"
	AND SERVPLANNING."Fecha" &gt;= &#39;:1&#39;
	AND SERVPLANNING."Fecha" &lt;= &#39;:2&#39;
GROUP BY
	SERVPLANNING.Fecha,
	SERVICIOS."Descripción" 
ORDER BY
	SERVPLANNING.Fecha,
	SERVICIOS."Descripción"</sql>
	<totals>
	</totals>
	<footer></footer>
</turisoftreportfile>
