6
Answers

How to divide a single column of a database table in 2 diff

Mak

Mak

11y
1.3k
1

I have one column named as Time with another column named as ID.

I want to divide the column Time in two different columns as InTime & OutTime.

But the important thing is that if the count of that ID present in a ID column is even, the  corresponding value present at that ID of column Time will be inserted in a  column named as OutTime & if the count of that ID is odd the corresponding value present at that ID of column Time will be inserted in a column named as InTime. Please  help me 

 

 

Its Urgent..

Please help me as I'm new in this field.....

THANK YOU in Advance.

Answers (6)