Why is this SQL table row getting broken up?
As I go through the SQL course, I've been using XAMPP on my laptop to follow along. I made my own table with first and last names and ages and along with an ID number column for the indexing key to experiment on. Now when I come to the lesson about the MIN() function, someone asks in the comments how you would write it to have the name come up with the MIN() result. In the lesson it was Salary but I tried it with my Age column. My first thought was to simply check: SELECT FirstName, LastName, MIN(Age) FROM family; Now that gave me the unexpected result of the first and last name of the person on the top of my list along with the MIN age which was 20. That person's age should have been 55, not 20. The person with the MIN age of 20 was on the bottom of the list. So my question is: How did the oldest person's name get listed along with the youngest person's age? Breaking up a row like that seems quite strange to me...