There is a table with several fields, key fields for the task:
card_id
payment_date
There are several lines with the same card_id and different payment_date values
I need to select only those card_id which do not have payment_date = NUll in one line.
If at least one line with card_id has the value payment_date = NULL, do not output such values.
http://sqlfiddle.com/#!9/535867/1 is the link to the finished table for experiments.