且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

任何人都可以建议我如何从Java每日出勤中产生每月出席人数?

更新时间:2023-02-05 16:08:10

这是一项经典的家庭作业 - 请提供代码。



我是请附上 wilkus70 的评论。你每次都会通过一个保存按钮来保存出勤率。

所以你应该要求接收所有 empID $ c $的条目c>你要求它。



所以这将是



That is a classic homework task - please provide code.

I'd go with the comment of wilkus70. you're saving the attendance each time with a save-button to the DB.
So you should make an request to receive all entries which have the empID you are requesting it for.

so that would be

SELECT * FROM [tablename] WHERE empID IS LIKE '[empID]'



(请注意'掩盖值'


(please notice the ' to mask the value)