sir
i want a query which count total student. here 6 record of student. here one student two times entry. my result is total student 5. i can't do this.
my table is:
id stu_name dob
1 Saima 2009-02-01
2 Tanvir 2009-02-11
3 Saima 2009-02-01
4 Rumman 2009-02-01
5 Saima 2009-02-26
6 Saima 2009-02-27
i use this query
but it doesn't show proper result. please help me
Thanks
i want a query which count total student. here 6 record of student. here one student two times entry. my result is total student 5. i can't do this.
my table is:
id stu_name dob
1 Saima 2009-02-01
2 Tanvir 2009-02-11
3 Saima 2009-02-01
4 Rumman 2009-02-01
5 Saima 2009-02-26
6 Saima 2009-02-27
i use this query
Code:
select count(e.stu_name) as 'Total Number' from stu_info e,stu_info d,stu_info c where (e.stu_name <> d.stu_name and e.dob = d.dob)
Thanks
Comment