C
Carlos
Hello, i newbie in queries and try the unmactch query but only one field is
compare
I have 2 tables (T1,T2) with identical fields
Emp NUMBER
StartDate DATE
EndDate DATE
Ex.
T1
| Emp | StartDate | EndDate |
| 100 | 2006-01-02 | 2006-01-10 |
| 100 | 2006-05-02 | 2006-05-10 |(1)
| 100 | 2006-07-02 | 2006-07-10 |(2)
T2
| Emp | StartDate | EndDate |
| 100 | 2006-01-02 | 2006-01-10 |
| 100 | 2006-07-02 | 2006-07-09 |(2)
(1) not exist T2
(2) not same EndDate
Return
| Emp | StartDate | EndDate |
| 100 | 2006-05-02 | 2006-05-10 |
| 100 | 2006-07-02 | 2006-07-10 |
need to compare StartDate an EndDate with same Emp number, it's possible
Thank's
compare
I have 2 tables (T1,T2) with identical fields
Emp NUMBER
StartDate DATE
EndDate DATE
Ex.
T1
| Emp | StartDate | EndDate |
| 100 | 2006-01-02 | 2006-01-10 |
| 100 | 2006-05-02 | 2006-05-10 |(1)
| 100 | 2006-07-02 | 2006-07-10 |(2)
T2
| Emp | StartDate | EndDate |
| 100 | 2006-01-02 | 2006-01-10 |
| 100 | 2006-07-02 | 2006-07-09 |(2)
(1) not exist T2
(2) not same EndDate
Return
| Emp | StartDate | EndDate |
| 100 | 2006-05-02 | 2006-05-10 |
| 100 | 2006-07-02 | 2006-07-10 |
need to compare StartDate an EndDate with same Emp number, it's possible
Thank's