My queries below is giving me no result. Is there a way to get the data for 2 specific dates? Also, I have tried getting the dates only and it is giving me no result either.
I have highlighted per color the script that I need to be link or get data from.
Thank you!!!
BR/// Anthony Arada
Query 1: Data from specific dates
SELECT DC_E_ERBS_EUTRANCELLFDD_RAW.ERBS
,DC_E_ERBS_EUTRANCELLFDD_RAW.EUtranCellFDD
,SUM( DC_E_ERBS_EUTRANCELLFDD_RAW.pmRrcConnEstabAtt ) AS ATTEMPTS_CURRENT
,SUM( DC_E_ERBS_EUTRANCELLFDD_RAW.pmRrcConnEstabAtt ) AS ATTEMPTS_PREVIOUS
FROM dc.DC_E_ERBS_EUTRANCELLFDD_RAW DC_E_ERBS_EUTRANCELLFDD_RAW
WHERE ( “DC_E_ERBS_EUTRANCELLFDD_RAW”.“ERBS” = ‘GNL03402’)
AND ( DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID = ‘2017-1-19’)
AND ( DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID = ‘2017-1-12’)
GROUP BY DC_E_ERBS_EUTRANCELLFDD_RAW.ERBS
,DC_E_ERBS_EUTRANCELLFDD_RAW.EUtranCellFDD
Query 2: Date only
SELECT DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID AS DATE_CURRENT
,DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID AS DATE_PREVIOUS
FROM dc.DC_E_ERBS_EUTRANCELLFDD_RAW DC_E_ERBS_EUTRANCELLFDD_RAW
WHERE ( DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID = ‘2017-1-19’)
AND ( DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID = ‘2017-1-12’)
GROUP BY DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID
,DC_E_ERBS_EUTRANCELLFDD_RAW.DATE_ID