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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.