Help for this page

Select Code to Download


  1. or download this
    SELECT max(weather_time) FROM pressure where (weather_time < '$event_t
    +ime')
    
  2. or download this
    SELECT max(weather_time), baro_pressure FROM pressure where (weather_time < '$event_time')
  3. or download this
    SELECT weather_time, baro_pressure from pressure where weather_time = (select max(weather_time) FROM pressure where (weather_time < '$radar_time'))
  4. or download this
    my $sth = $dbh->prepare("SELECT max(weather_time) FROM pressure where 
    +(weather_time < '$data_time')")
      or die "Cannot prepare: " . $dbh->errstr();
    ...
    $row = $sth->fetchrow_hashref;
    $sth->finish();
    return $row->{'baro_pressure'};