write a query following table
bookid language
1234 english
1234 french
1234 spanish
1235 english
i want the output are
bookid lang1 lang2 lang3
1234 english french spanish
1235 english null null
Answer / tgin
SELECT BOOKID,DECODE(LANGUAGE,'ENGLISH') AS LANGUAGE1,
DECODE(LANGUAGE,'FRENCH') AS LANGUAGE2,
(LANGUAGE,'SPANISH') AS LANGUAGE3
FROM TABLE_NAME
GROUP BY BOOKID
Is This Answer Correct ? | 4 Yes | 2 No |
Why you use repository connectivity?
What is parameter file?
How you can differentiate between connected lookup and unconnected lookup?
what is the logic will you implement to laod the data in to one factv from 'n' number of dimension?
sample mappings for scd1,scd2 and scd3
I am hvaing SOURCE as 1000,null,null,null null,2000,null,null null,null,3000,null null,null,null,4000 Now i want the OUTPUT as 1000,2000,3000,4000 For more clarification i want to elimate nulls and want in a single line. Please help me out
Can you generate sequence numbers without using the sequence generator transformation?
Which gives the more performance when compare to fixed width and delimited file ? and why?
which is better perfomancewise lookup or joiner and why?can anyone give example?
How you count the number of records available at your source?
Session S1, S2, and S3. In the session S3 I want to load every Saturday. How it is possible?
I have a scenario which load the data frm single source to 2 targets as T1, T2, and T1 have a P.K and T2 have F.K relations. first data has to load in T2, and then data load to T1 if that record exist in T1... how can we acheive it?