I have 2 tables, and each table having different information and i want to link those 2 and grab information from both tables.
from below tables, i want to map the Qtree and then grab the rest of the information. for e.g. qtree1 suppose the same as qtree1/a
Table 1
Qtree | Mountpoints | Hostname
qtree1 | MP1 | Host1
qtree1 | MP2 | Host1
qtree2 | MP2 | Host2
Table2
Qtree | InstallDate | Owner
qtree1/a | 1-JAn | Vic
qtree2/a | 2-Jan | Gab
Now, How can i map the Qtree since i cant use = as the qtree are different name.
I tried to use LIKE but no luck as well.
btw, in actual... qtree looks like
//amsdc1-s-12345.europe.xxx.com/dhc-amsdc1-s-03015$
/dev/backuppool02
from above....
/dev or //amsdc1-s-12345.europe.xxx.com/ will appear in the other table to map the rest of information.
from below tables, i want to map the Qtree and then grab the rest of the information. for e.g. qtree1 suppose the same as qtree1/a
Table 1
Qtree | Mountpoints | Hostname
qtree1 | MP1 | Host1
qtree1 | MP2 | Host1
qtree2 | MP2 | Host2
Table2
Qtree | InstallDate | Owner
qtree1/a | 1-JAn | Vic
qtree2/a | 2-Jan | Gab
Now, How can i map the Qtree since i cant use = as the qtree are different name.
I tried to use LIKE but no luck as well.
btw, in actual... qtree looks like
//amsdc1-s-12345.europe.xxx.com/dhc-amsdc1-s-03015$
/dev/backuppool02
from above....
/dev or //amsdc1-s-12345.europe.xxx.com/ will appear in the other table to map the rest of information.