Skip to content

Instantly share code, notes, and snippets.

@arbo-hacker
Created October 14, 2016 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arbo-hacker/03a7c4e346b3d9751e0c3bea2c426f02 to your computer and use it in GitHub Desktop.
Save arbo-hacker/03a7c4e346b3d9751e0c3bea2c426f02 to your computer and use it in GitHub Desktop.
Cambios de Precios que se van a ejecutar el día de hoy en RPM
SELECT DECODE (PRICE_EVENT_TYPE,
'PC',
'Cambios de Precio',
'PS',
'Inicio de Promocion',
'PE',
'Fin de Promocion') PRICE_EVENT_TYPE,
DECODE (STATUS,
'N',
'Nuevo / Por Comenzar',
'C',
'Completado') STATUS,
COUNT ( * )
FROM rpm_price_event_thread_status
GROUP BY PRICE_EVENT_TYPE, status
ORDER BY 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment