views:

5

answers:

1

Hi!

I have a table with 1 column (bus departure times in format "14:32:15"). How to querry the table to show only departures that are after the current moment (after curtime())? E.g.: if it's 12 o'clock and my table has rows (10:15:00,11:20:00,12:30:00, ...), i want to have 12:30:00 returned.

A: 

Try this SELECT time FROM yourtable WHERE time > now()

Robert
Tnx, i guess it was a noob question.
DixieFlatline
We all start somewhere :)
Robert