Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Discretize data?

Status
Not open for further replies.

SQLnewcommer

Technical User
Oct 7, 2005
15
0
0
US
Hello,
I have a table with lesson times, and client no which I extracted from another table. The lesson times are in terms of minutes. How do I group the lesson groups into hours?
Like 7 - 8 pm, 8 - 9pm etc?
 
Can you post your query, sample data, and expected results? Usually, converting from minutes to hours is simple, just divide by 60. Data types may be causing weird issues with your division, that's why showing your code would be helpful for us to give you better advice.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top