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.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.