In response to
"SQL question. I can wind up exporting to Excel and doing it that way but trying to learn."
by
Dano
|
I think something like
Posted by
oblique (aka kkuphal)
Oct 31 '24, 12:55
|
SELECT DISTINCT VALUE FROM TABLE01
WHERE CONCAT('##',VALUE) NOT IN (SELECT ##VALUE FROM TABLE02)
I think the other way to do it would be something like
SELECT DISTINCT VALUE FROM TABLE01
WHERE VALUE NOT IN (SELECT RIGHT(##VALUE,LEN(##VALUE)-2) FROM TABLE02)
|
Responses:
|