Question
I'm looking for is to update data from table attendance which is LEFT INNER with table employees. So I used this query 1 UPDATE attendance
I'm looking for is to update data from table attendance which is LEFT INNER with table employees. So I used this query
1 | UPDATE attendance att LEFT JOIN employees emp ON(att.employee_id = emp.id) SET date = '2018-04-27', time = '08:00:00', description = 'Sick' WHERE att.id = 1 |
I have two tables one is employees and other is attendance. employees table has fields as (id, employee_id, firstname, lastname, address, email, salary, creacted_on) and attendance table has fields as (id, employee_id, date, time, description). Here is my code. Can someone help me to fix my code.
EDIT Absent
Date | Employee ID | Nane | Tinth | Description | Edit | cth>Delete B) { while ($row = mysqli_fetch_assoc($query_r'un)) { strs
---|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started