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...

Table Student has 3 columns,Student_id,Student_Name &
Course_Id. Table Course has 2 columns, Course_Id &
Course_Name.Write a query to listdown all the Courses and
number of student in each course.

Answer Posted / lova raju allumalla

select count(stud_name),course_name from student s,course c
where s.course_id = c.course_id group by course_name
/

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why partition by is used in sql?

1010


How do you sort in sql?

984


Explain what is an index?

1034


How to raise user-defined exception with custom sqlerrm ?

1115


What is rollback?

1093


how many ways to get the current time? : Sql dba

986


What are the rules to be applied to nulls whilst doing comparisons?

1307


What is the difference between cross join and natural join?

997


What are types of indexes in sql?

1061


Write a sql query to find the names of employees that begin with ‘a’?

987


How many types of indexes are there in sql?

972


What are the three pl sql block types?

983


How do I run a pl sql procedure in sql developer?

952


What are the advantages of indexing?

967


How to pipe multiline string to isql?

998