| SQL - Questions and Answers Have a SQL question? Post it here. First do a search to see if someone hasn't already answered it. |
|
|||
|
Hi Mat,
Just give the result a name so that it is easier to reference. Something like 'min_value'. Look carefully at the statement below: SELECT MIN(COLUMN) AS min_value FROM some_tableYou can then reference that value in your result set as 'min_value' (i.e. $rs['min_value']) |
![]() |
| Thread Tools | Search this Thread |
|
|