I want to combine 1 and 2, but I don't know how.
I created a model like this. ①CalendarMaster【field→Index,Date,CalenderHoliday,CompanyHoliday】 ②AttendanceMaster【field→Index,EmployeeId,Date,GoingTime,LeavingTime】
I want to combine the date of the CalendarMaster and the date of the AttendanceMaster as a key.
I want to know the type of model and where to write the SQL query script. If you join the tables into one, I want to display [Date,CalenderHoliday,CompanyHoliday,GoingTime,LeavingTime] in one table.
I looked at various sites and tried relations, but it didn't work, so please help someone. I have been worried for another week. Waiting for advice.