Viewing 15 posts - 1 through 15 (of 17 total)
am trying to display the student attendance, for example, the student absentees list in daily,weekly,monthly and yearly basis
April 12, 2012 at 10:30 pm
I dont understand......what is relational and cube
April 12, 2012 at 7:10 am
thanks for ur response, I tried like this
select COUNT(Attendance.studentid) as Absentees,
Sections.Max-count(studentid) as Presentees,
Students.Gender as Gender
from Attendance
inner...
April 12, 2012 at 1:30 am
thanks Daniel Bowlin for ur response, I just tried my code again by using the '&', its working now
March 21, 2012 at 11:10 pm
declare @minmarks int
select @minmarks=minmarks from table2
select (case when sum(convert(int,marks)) >= @minmarks then 'Pass' else 'Fail' end) as Result
from table1
GROUP BY StudentId,SubjectId,ComponentId
am getting the result, thanks
March 19, 2012 at 5:49 am
thanks Pablo (Paul) Berzukov, for ur response
of course am doing, I need some idea, how to do that,thats wat askin here
March 19, 2012 at 5:30 am
in that query if I give 2 it shows nothing, what can I do to display both pass and fail
March 15, 2012 at 5:40 am
thanks anthony for ur kind, the problem is am a newbie to sql I dunno how to take the DML. the report is working now, I found the problem, I'll...
March 15, 2012 at 5:06 am
ya its working, I think the problem is when joining the tables, here I've to join more than 3 tables, I'll check it....thanks for ur respone anthony
March 15, 2012 at 4:56 am
Viewing 15 posts - 1 through 15 (of 17 total)