Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Handling the EMPTY/NULL value in the select query - response (7) by ashif90

$
0
0
hai,friends i have one doubt in sql here i mentioned that please help me. COLUMN NAME1    COLUMN NAME2 A                  1 A                  2 A                  NULL B                  3 C                  NULL this is my table from that i have to select that not null values of A and B and also select NULL value of C.that is if A having NULL values only and C having NOT NULL values only means I have to select NULL values of A and not null values of C.that is if A having both NULL and NOT NULL values means i want NOT NULL only of A and C having NULL values means i want NULL values of C.at the same time if C having NULL AND NOT NULL value means i want the NOT NULL values of C.please help me soon.am waiting  

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>