What is an SQL Query for showing the details of one table that another doesn’t have.
Have you looked at SQL's EXCEPT operator?
@AakashData wrote:
What is an SQL Query for showing the details of one table that another doesn’t have.
In terms of rows or in terms of different variable names? Vague questions will get you vague answers, please take the time to detail your questions.
The query that can be used is:
SELECT * FROM Worker MINUS SELECT * FROM Title;
The MINUS operator is only used by a few databases.
SAS uses the ANSI-standard EXCEPT operator.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.