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 / shrawan kumar keshri
select * from A
except
select * from B
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How do I pipe the output of one isql to another?
What is the unique index?
what is the difference between delete and truncate statement in sql? : Sql dba
what are the differences among rownum, rank and dense_rank? : Sql dba
What is spool?
What is a database? Explain
how many sql ddl commands are supported by 'mysql'? : Sql dba
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
what is a database lock ? : Sql dba
Can we create table inside stored procedure?
What program will open a mdb file?
Mention what is the plv (pl/vision) package offers?
how to extract a unit value from a date and time? : Sql dba
Is a secondary key the same as a foreign key?
what is isam? : Sql dba