You are not logged in.
Announcement
Unanswered posts
|
Hi to all
I have two table, and i have to create this query sql
TABELLA 1
GRUPPO
USER
DESCRIZIONE
TABELLA 2
USER
OPERAZIONE
VALORE
SELECT A.USER, B.GRUPPO, A.OPERAZIONE, A.VALORE FROM TABELLA1 A, TABELLA2 B WHERE A.USER=B.USER.
for this i use Tmap object but it makes a left join so i have this situation:
tabella1
A|ale|aaaaaa
B|franco|bbbbbb
tabella2
ale|IN|50
franco|OUT|100
davide|OUT|10
This is the result of tmap
ale|A|IN|50
franco|B|OUT|100
davide||OUT|10
Instead i'd like to have
ale|A|IN|50
franco|B|OUT|100
Any suggestion?I try to use tjoin but i don't understand how to use it.
Thanks
Alessandro
Last edited by fox82 (2012-05-31 17:32:45)
Offline