Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
A:
Load Distinct
name,
emp id,
sal,
desg
RESIDENT Emp;
INNER JOIN
LOAD
Distinct
name,
empid,
max(date) as latest date
RESIDENT A
group by name,
emp id;
I m getting table not found error while running the script
Can you post the Entire Script?
Is your 'A' table is loading without Inner Join?
Check the Emp table exist or not?
emp table is exist only i m getting error on resident table
I think you table A is getting merged with another table thats why your not able to get the table A ...try like this
NOCONCATENATE
A:
Load Distinct
name,
[emp id,]
sal,
desg
RESIDENT Emp;
INNER JOIN
LOAD
Distinct
name,
[emp id],
max(date) as latest date
RESIDENT A
group by name,
[emp id];
A:
Load Distinct
name,
emp id,
sal,
desg
RESIDENT Emp;
INNER JOIN
LOAD
Distinct
name,
empid,
max(date) as latest date
RESIDENT A
group by name,
emp id;
WHERE IS DATE FIELD IN TABLE A?
Thanks
by using no concatenate i got the output
Are you sure?
Inner Join is using max(date) RESIDENT A...
Table A don't have date field !!!
I am surprised but as far as you got the solution, OK for me!
Can you share your screenshot or script which is working now?
may be it is useful to you
mrkachhiaimp I think he has we have not got the rite script
manoranjan.d If you have got the answer mark the correct answer and close this thread