6
Answers

GET DATA BASED ON Multiple conditions

Inam N

Inam N

8y
333
1
I have a result set like this
 
CHASSIS ENGINENO RES1 RES2 COLOR EXCISE DELDATE
CHS21122015 EN21122015 1 0 NULL NULL NULL
TESTCHS50011 EN50011 1 0 NULL NULL NULL
CHS21122015 EN21122015 0 1 NULL NULL 1/8/2015
TESTCHS50022 EN50022 0 1 NULL NULL 1/8/2015
TESTCHS50023 EN50023 0 1 NULL NULL 1/8/2015
TESTCHS50011 EN50011 0 1 NULL NULL 1/8/2015
RESULT SHUD BE
CHASSIS ENGINENO RES1 RES2 COLOR EXCISE DELDATE
CHS21122015 EN21122015 1 1 NULL NULL 1/8/2015
TESTCHS50011 EN50011 1 1 NULL NULL 1/8/2015
TESTCHS50022 EN50022 0 1 NULL NULL 1/8/2015
TESTCHS50023 EN50023 0 1 NULL NULL 1/8/2015
Answers (6)