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

selecting values from a table where max value is null - response (5) by Makuma

$
0
0

If you really want the rows where max(dt) is null, you can simply use this, isnt it?
 
 

SEL NAME,MAX(dt)  mx FROM tbl1

group by 1

HAVING MX IS NULL


Viewing all articles
Browse latest Browse all 14773

Trending Articles