I am making a library database. I have a column called "ArriveDate", and the dates are strings in the format MM/DD/YYYY (month and day might be single digit).
I want to find the new arrivals, so I need to find all books with the largest ArriveDate. I don't have any knowledge of SQL, so any help is appreciated!
Example table:
title, author, ArriveDate
Harry Potter 1, J.K. Rowling, 7/1/2020
Harry Potter 2, J.K. Rowling, 7/1/2020
Harry Potter 3, J.K. Rowling, 7/1/2020
Book Title 1, Author Name 1, 6/1/2020
Book Title 2, Author Name 2, 6/1/2020
Magazine 1, Author Name 3, 6/1/2020
Expected result:
title, author, ArriveDate
Harry Potter 1, J.K. Rowling, 7/1/2020
Harry Potter 2, J.K. Rowling, 7/1/2020
Harry Potter 3, J.K. Rowling, 7/1/2020
Here, 7/1/2020 is the largest date
To clarify, I'm stuck because the dates are stored as strings. If there was a way to convert them into SQL dates, I would know how to go from there.