0.0006 |
SELECT `locationId`, `cityName`, `urlName`, `urlState`, `stateName`, `stateCode`, `StationName`, `countryName`, `urlCountry`, `dd1`.`year` as earliestYear, `dd1`.`monthNo` as earliestMonth, `dd1`.`dayNo` as earliestDay, `dd2`.`year` as latestYear, `dd2`.`monthNo` as latestMonth, `dd2`.`dayNo` as latestDay FROM (`dimLocation`) JOIN `dimDate` dd1 ON `dimLocation`.`beginDateId` = `dd1`.`dateId` JOIN `dimDate` dd2 ON `dimLocation`.`endDateId` = `dd2`.`dateId` WHERE `urlState` = 'alaska' AND `urlName` = 'bettles' LIMIT 1
|
0.0007 |
SELECT `monthNo`, AVG(`meanMinTemp`) AS meanMinTemp, AVG(`meanMaxTemp`) AS meanMaxTemp FROM (`aggMonthly`) WHERE `monthNo` = 1 AND `locationId` = '156' GROUP BY `monthNo`
|
0.0005 |
SELECT `monthNo`, AVG(`meanMinTemp`) AS meanMinTemp, AVG(`meanMaxTemp`) AS meanMaxTemp FROM (`aggMonthly`) WHERE `monthNo` = 1 AND `locationId` = '156' GROUP BY `monthNo`
|
0.0036 |
SELECT `maxTemp`, `monthName`, `dayNo`, `dimDate`.`year`, `dimLocation`.`locationId`, `dimLocation`.`countryName`, `dimLocation`.`stateName`, `dimLocation`.`presentationName`, `dimLocation`.`urlCountry`, `dimLocation`.`urlState`, `dimLocation`.`urlName` FROM (`aggMonthly`) JOIN `dimLocation` ON `dimLocation`.`locationId` = `aggMonthly`.`locationId` JOIN `dimDate` ON `dimDate`.`dateId` = `aggMonthly`.`maxTempDate` WHERE `aggMonthly`.`locationId` = '156' AND `dimDate`.`monthNo` = 1 ORDER BY `maxTemp` desc LIMIT 1
|
0.0015 |
SELECT `minTemp`, `monthName`, `dayNo`, `dimDate`.`year`, `dimLocation`.`locationId`, `dimLocation`.`countryName`, `dimLocation`.`stateName`, `dimLocation`.`presentationName`, `dimLocation`.`urlCountry`, `dimLocation`.`urlState`, `dimLocation`.`urlName` FROM (`aggMonthly`) JOIN `dimLocation` ON `dimLocation`.`locationId` = `aggMonthly`.`locationId` JOIN `dimDate` ON `dimDate`.`dateId` = `aggMonthly`.`minTempDate` WHERE `aggMonthly`.`locationId` = '156' AND `dimDate`.`monthNo` = 1 ORDER BY `minTemp` asc LIMIT 1
|
0.0543 |
select min(count_days) as min_days, avg(count_days) as average_days, max(count_days) as max_days from (select year, count(*) as count_days from factDaily fd join dimDate dd on (dd.dateId = fd.DateId) where fd.locationId = 156 and minTemp <= 32 and dd.monthNo = 1 group by year) as count_freezing
|
0.0263 |
select min(count_days) as min_days, avg(count_days) as average_days, max(count_days) as max_days from (select year, count(*) as count_days from factDaily fd join dimDate dd on (dd.dateId = fd.DateId) where fd.locationId = 156 and maxTemp <= 32 and dd.monthNo = 1 group by year) as count_freezing
|
0.0007 |
SELECT AVG(`sumRainfall`) AS sumRainfall, AVG(`daysRainfall`) AS daysRainfall, AVG(`daysSnow`) AS daysSnow, AVG(`daysTornado`) AS daysTornado, AVG(`daysThunder`) AS daysThunder, `monthNo` FROM (`aggMonthly`) WHERE `monthNo` = 1 AND `locationId` = '156' GROUP BY `monthNo`
|
0.0007 |
SELECT `sumRainfall`, `daysRainfall`, `year` FROM (`aggMonthly`) WHERE `monthNo` = 1 AND `locationId` = '156' ORDER BY `sumRainfall` asc LIMIT 1
|
0.0007 |
SELECT `sumRainfall`, `daysRainfall`, `year` FROM (`aggMonthly`) WHERE `monthNo` = 1 AND `locationId` = '156' ORDER BY `sumRainfall` desc LIMIT 1
|
0.0016 |
SELECT `maxRainfall`, `monthName`, `dayNo`, `dimDate`.`year`, `dimLocation`.`locationId`, `dimLocation`.`countryName`, `dimLocation`.`stateName`, `dimLocation`.`presentationName`, `dimLocation`.`urlCountry`, `dimLocation`.`urlState`, `dimLocation`.`urlName` FROM (`aggMonthly`) JOIN `dimLocation` ON `dimLocation`.`locationId` = `aggMonthly`.`locationId` JOIN `dimDate` ON `dimDate`.`dateId` = `aggMonthly`.`maxRainfallDate` WHERE `aggMonthly`.`locationId` = '156' AND `dimDate`.`monthNo` = 1 ORDER BY `maxRainfall` desc LIMIT 1
|