tableName
|name | header | date |
|--------|--------|-----------|
|abc | def | 2016-08-16|
|pqr | xyz | 2015-11-20|
I wanted to write a query to display the name which was entered the earliest.
select name from tableName where date(date) = min(date)
encountered an error.
I searched the internet for answers but couldn't find what I was looking for. Any advice and help on this matter would be welcome.