country, state 2 tables r there. in table 1 have cid,cname
table2 have sid,sname,cid. i want based on cid which country's
having more than 25 states i want to display?

Answers were Sorted based on User's Feedback



country, state 2 tables r there. in table 1 have cid,cname table2 have sid,sname,cid. i want based ..

Answer / joe

join these two tables on cid and get all the columns to
output. Then in aggregator stage, count rows with key
collumn cid..Then use filter or transformer to get records
with count> 25

Is This Answer Correct ?    13 Yes 0 No

country, state 2 tables r there. in table 1 have cid,cname table2 have sid,sname,cid. i want based ..

Answer / manikanta.srinu

select state.cid,country.cname from country inner join
state on country.cid=state.cid group by
state.cid,country.cname having count(state.sname)>25

Is This Answer Correct ?    7 Yes 3 No

country, state 2 tables r there. in table 1 have cid,cname table2 have sid,sname,cid. i want based ..

Answer / simha

same scenario i want datastage side?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

What are the unit test cases you used in your project?

1 Answers   CSC, HY,


What is datastage engine?

1 Answers  


which cache supports connected & un connected Lookup

1 Answers   Wipro,


if a column contains data like ram,rakesh,madhan,suraj,pradeep,bhaskar then I want to place names separated by commas in another columns how can we do?

2 Answers   IBM,


how to identifie,is it innerjoin,leftouter join in lookup?

2 Answers   Hexaware,


Can you filter data in hashed file?

1 Answers  


Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

1 Answers   Syntel,


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

1 Answers  


WHAT ARE PERFORMANACE SETTINGS YOU HAVE IMPLEMENTES IN YOUR PROJECT?

2 Answers   GE,


Name the command line functions to import and export the DS jobs?

1 Answers  


what is the difference between INROWNUM AND OUTROWNUM IN DATASTAGE SERVER EDITION?

2 Answers  


what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?

1 Answers   CTS,


Categories