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

Describe routines in datastage? Enlist various types of routines.

0 Answers  


Can you explain tagbatch restructure operator?

0 Answers  


How many types of stage?

0 Answers  


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

0 Answers  


How many number of reject links merge stage can have?

7 Answers   TCS,






HOW CAN WE ABORT THE JOB IF THE RECORDS OF SOURCE FILE CONTAINS VALUE AS 'VIJAY'?

1 Answers   Infosys,


what about data stage requirement

1 Answers  


How do you get log info into a file?

1 Answers  


Why we use parameters instead of hard code in datastage.

2 Answers   IBM,


What are the difference types of stages?

0 Answers  


Could anyone give brief explanation bout datastage admin

0 Answers  


what is executable in DataStage?

2 Answers  


Categories