write sql query following table
city gender no
chennai male 40
chennai female 35
bangalore male 25
bangalore female 25
mumbai female 15
i want the required output
city male female
chennai 40 35
bangalore 25 25
mumbai 15
Answer Posted / anshita gupta
select * from city pivot(max(no) for gender in('male ','female'));
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me about MD5 functions in informatica
what is diff b/t sorter t/r and agg have the option sorter property...
What is decode in informatica?
What do you understand by term role-playing dimension?
What is rank index in rank transformation?
How do we call shell scripts from informatica?
can anyone suggest best free Talend data integration training online
What do you understand by a term domain?
How many ways are there to do 'remove duplicate records in informatica'?
How to elaborate powercenter integration service?
What is session task and command task?
expain about the tune parameters?
What is sorter transformation?
Differentiate between source qualifier and filter transformation?
What is the format of informatica objects in a repository?