MySQL Forums
Forum List  »  General

Re: If and Time Statements
Posted by: Peter Brawley
Date: March 13, 2021 07:34PM

Quote

I would like to bring in: Order Status, Time Elapsed Minutes, Created Date, Created Time, Accepted By Store, Minutes To Accepted By Store, Invoiced At, Mins Elapsed Invoiced, Driver Accepted, Mins Driver Accepted, Driver At Store, Mins Driving To Store, Mins Driver In Store, Driver Starts Delivery, Driver Arrival At Client, Mins Driving To Client Driver Completes Delivery, Total Mins Elapsed To Delivery

Are those column names? If so, the spaces in them will raise endless issues. Best practice: avoid illegal chars in database object names.

Apart from that, if we're to help with adding these columns to your query, we'll need to see the result of ...

show create table order;

Options: ReplyQuote


Subject
Written By
Posted
March 13, 2021 04:51PM
Re: If and Time Statements
March 13, 2021 07:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.