I have a query which i am not able to figure out since i am new with sql and i have a project due tomorow to submit
any help will be appreciated
i have a registration table which has the following structure
Student_ID int,
Course varchar(15),
Score int,
Semester varchar(15),
Discipline varchar(10),
Campus varchar(15),
Degree varchar(10),
Year int
the Registration table has no Primary key it is basically for developing a date warehouse
so no primary key, and the data in this table is from 4 different campuses of the same university so Student_id is repeated a number of times
The Query is that i need to find average number of students in every batch(YEAR) of each campus
kindly help me if any one can