list($min) = mysql_fetch_row(mysql_query('SELECT IFNULL(MIN(column), 0) FROM table'));
If you want to return something else besides 0 when there are no rows, just edit the second IFNULL parameter. If you are guaranteed to be at least 1 line, or you want NULL when there are no lines, you can completely remove IFNULL .
source share