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 Posted / 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 |
Post New Answer View All Answers
4 yrs etl devloper roles and responsibilities?any body give solutions
Differentiate between a repository server and a powerhouse?
What is informatica metadata and where is it stored?
How to do the error handling of if ur source is flatfiles?
What are active transformations.
What are the basic requirements to join two sources in a source qualifier transformation using default join?
How can you generate reports in informatica?
How can we use mapping variables in informatica?
What are the designer tools for creating transformations?
have u done any performance tuning? how u ll do?
How do you use reject loader.
What are the different types of repositories created using informatica?
I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?
What is a transaction control transformation?
Define filter transformation?