I am having SQL table where the records of the employee on daily basis are stored/saved I would like to get that result in tabular format
Consider a Table As Shown Below
Assuming that there is at most one row of each type for each person, you can do this using conditional aggregation:
select name,
max(case when action = 'INTIME' then dateandtime end) as intime,
max(case when action = 'OUTTIME' then dateandtime end) as outtime,
max(case when action = 'LUNCH' then dateandtime end) as lunch
from t
group by name;
If you have multiple values for a given name, I would recommend that you ask a new question with details on how to handle that situation.