I tried summing up:
SUM(TIME_FORMAT(TIMEDIFF(eTime, sTime),'%d d %k h %i m')) AS the_Time FROM Business
However, if I remove SUM it displays the format I want. If I add SUM then it returns null. Can anyone tell me how to sum up date and time?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you need to sum up and then format