in reply to Re: Going to first record on a record set in DBI
in thread Going to first record on a record set in DBI
SELECT name, gender FROM people ORDER BY age LIMIT 1
can also be written as
SELECT name, gender FROM people WHERE age = MIN (age)
That is, you ask for the record with minimum age.
Abigail
|
|---|