[[Category:SQLCode]]
*'''site''': cloudoffice.com.ar
*'''autor''': SAS
<pre>
SELECT 
    'Productos' as DatosDe,
    '2013.03.21' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion_20130321.productos 
UNION SELECT 
    'Productos' as DatosDe,
    '2013.04.05' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion.productos 
UNION SELECT 
    'Composiciones' as DatosDe,
    '2013.03.21' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion_20130321.composicion 
UNION SELECT 
    'Composiciones' as DatosDe,
    '2013.04.05' as Fecha,
    COUNT(*) AS Registraciones
from
    fzggestion.composicion 
UNION SELECT 
    'Precios' as DatosDe,
    '2013.03.21' as Fecha,
    COUNT(*) AS Registraciones
from
    fzggestion_20130321.precios 
UNION SELECT 
    'Precios' as DatosDe,
    '2013.04.05' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion.precios 
UNION SELECT 
    'Presupuestos' as DatosDe,
    '2013.03.21' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion_20130321.vidquoten1 
UNION SELECT 
    'Presupuestos' as DatosDe,
    '2013.04.05' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion.vidquoten1 
UNION SELECT 
    'Productos Presupuestados' as DatosDe,
    '2013.03.21' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion_20130321.vidquoten2 
UNION SELECT 
    'Productos Presupuestados' as DatosDe,
    '2013.04.05' as Fecha,
    COUNT(*) AS Registraciones
FROM
    fzggestion.vidquoten2
</pre>