Employee Attendance | SQL Joins scenario question
DML Script:
CREATE TABLE employee_attendance (
Employee_Name varchar(10),
Date DATE);
INSERT INTO employee_attendance (Employee_Name, Date) VALUES
('Adam', '2024-01-01'),
('Adam', '2024-01-03'),
('Adam', '2024-01-04'),
('Adam', '2024-01-05'),
('Adam', '2024-01-06'),
('Andrew', '2024-01-03'),
('Andrew', '2024-01-04'),
('Andrew', '2024-01-05'),
('Andrew', '2024-01-06'),
('Andrew', '2024-01-07'),
('Stephen', '2024-01-02'),
('Stephen', '2024-01-03'),
('Stephen', '2024-01-04'),
('Stephen', '2024-01-05'),
('Stephen', '2024-01-06'),
('Phillip', '2024-01-01'),
('Phillip', '2024-01-02'),
('Phillip', '2024-01-03'),
('Phillip', '2024-01-04'),
('Phillip', '2024-01-05'),
('Phillip', '2024-01-07'),
('Samantha', '2024-01-01'),
('Samantha', '2024-01-02'),
('Samantha', '2024-01-03'),
('Samantha', '2024-01-05'),
('Samantha', '2024-01-07');
Detailed explanation: https://youtu.be/t0y9q5V8p8o
Comments
Post a Comment