Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
my project is College Management System. i am not getting the values for student attendence details. how can i retreive the values can suggestions r accepted
Posted
Comments
P.Salini 5-Oct-11 5:42am    
Provide some code you have done so that we can know where you are going wrong.
Bala Selvanayagam 5-Oct-11 5:52am    
Just give us the table structures (tablename, field names...) and the code you have tried out please
hitech_s 5-Oct-11 6:23am    
no one can answer your question without knowing what are the tables you are using.and what are the columns you want to show.first give the requirements clearly plz dont mind

1 solution

try the following query this will gives you numbers of absents along with student name from attendance and student tables of your database
SQL
select s.id,s.name,a.absents form students s join attendance a where s.id=a.id

provide your table schema and you requirements for accurate query
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900