TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Akhter HUssain
719
1.3k
103.4k
How to Calculate OverTime,Full_Day,Half_Day,Late_In,Hours,
Dec 25 2018 11:45 PM
i have INTIME and OUTTIME of employee ,
INPUT
EmpID
IN TIME
OUTTIME
2000092
2018-05-24 09:20
2018-05-24 21:00
2000090
2018-05-21 08:00
2018-05-21 20:00
OutPut
Hours(A)
Starndard Hour(B)
(C) Over Time(A-B)
OT Rate(D)
OT Amount(C*D)
11
8
3
100
300
12
8
4
100
400
i want this output in same table by sql query...Kindly guide
Reply
Answers (
1
)
Counting datetime from table for workers
Thousand decimal point problem