SQL查询检索不同的表的值从数据库到Windows窗体 [英] Sql query for retreving values different tables from database to windows form

查看:60
本文介绍了SQL查询检索不同的表的值从数据库到Windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目是大学管理系统".我没有获得学生出勤率详细信息的值.我如何获取建议可以接受的值

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

推荐答案

尝试以下查询,这将为您提供缺勤人数以及数据库的出勤率和学生表中的学生姓名
try the following query this will gives you numbers of absents along with student name from attendance and student tables of your database
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


这篇关于SQL查询检索不同的表的值从数据库到Windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆