Hello ,
I am trying to create a activity Table for students which consist of these columns and requirements
1 ID (Incremental)
2 Student (001) for one student only
3. Date Column (Any Date)
4. Activity Type (In School , HomeWork , Assessments)
5 Time Spent on Activity with following conditions
i Accumulative Time Spent In-School should not be greater than 25 hours
ii Accumulative Time Spent HomeWork should not be greater than 15 hours
iii Accumulative Time Spent Assessments should not be greater than 8 hours
A Student contains at-least 100 records
Sample Data
| ID | Student | Date | Activty Type | Time Spent (in mins) |
| 1 | 001 | 10/23/2019 | In-Class | 60 |
| 2 | 001 | 10/24/2019 | Homework | 30 |
| 3 | 001 | 10/25/2019 | Assessments | 10 |
How can i generate records based on above requirements specially point (5)?