I want order by query. My issue for the website is below.
I have a news table in my database and the table having order and date columns.
Now i want to display a news by today date with order of news.
For example : XXXx news having order 1 and yyyy news having order 1 and zzzz news having order 1 and aaa news order is 2.
I have displayed this value in ascending..so the result is
xxxx yyyy zzzz aaaa When i addded another news ie bbbb and order 1 then it's comes under zzzz
ie
xxxx yyyy zzzz bbbb aaaa But i want the result is
bbbb xxxx yyyy zzzz aaaa Note : The date is same date ie. today date
how do i get this? let me know
order by date descDATEcolumn withouttime, then we can't help You