I have a database here
| TIME | STOCK
|9:00 |24
|12:00 | 15
I want to display the time 6am now until 4am tomorrow
I want to put it in a mysql query where i will put null in specific time that not similar in my database
like this
ID | STOCK
6:00 |NULL
7:00 |NULL
8:00 |NULL
9:00 |24
10:00|NULL
11:00|NULL
12:00|15
and so on...
Is there any body knows the solution . Thank you in advance.