Could someone help me with the sentence?
I would like the nIdePadre = '1'
to show in another column the description of nIdeArea = '1'
, and more or less it looks like this:
nIdarea --- nIdePadre --- nIdeEmpresa --- VDescripcion -- vDescrPadre
1 PepitoPerez...
2 1 Tienda Arequipa Pepito Perez
3 1 Tienda Olivos Pepito Perez
Is this possible?
The nIdePadre
and nIdeEmpresa
are FK of nIdarea
.