TABLE A TABLE B
EMPNO ENAME EMPNO ENAME
1 A 1 A
2 B 2 B
3 C 3 C
4 D 4 D
5 E 5 E
6 F
7 G
HOW TO GET THE UNMATCHED RECORDS IN SQL QUERY?
Answer Posted / b
select * from B
minus
select * from A;
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
How show all rows in sql?
Is there a way to automate sql execution from the command-line, batch job or shell script?
Write the alter statement to enable all the triggers on the t.students table.
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
how to convert character strings to dates? : Sql dba
Can we join 3 tables in sql?
What are different types of indexes?
What is a file delimiter?
how to shut down the server with 'mysqladmin'? : Sql dba
Why is theta join required?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
What is %type in pl sql?
What is trigger in sql? Explain
Which table is left in left join?
What types of commands can be executed in sql*plus?