We have a table with date and max
temperature during that day.

create table temp
(
DAY daytime not null,
temp float not null
)

Write and SQL to select all the days that have local peaks, meaning
all the days that have max temperature comparing to day before and day
after.


Thanks,
Oleg