Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different common services in datastage?

1264


How can we improve performance of data stage jobs?

998


if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?

2213


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

5101


What is ds designer?

1078


How do you remove duplicate values in datastage?

1134


What are transforms and what is the differenece between routines and transforms?

1038


What are the different type of jobs in datastage?

1033


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

1191


How do you generate sequence number in datastage?

1069


how can we create rank using datastage?what is the meaning of rank?

8756


What are the job parameters?

1198


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

2170


Can you explain players in datastage?

1173


Explain ibm infosphere information server and highlight its main features?

1077