Witam!
Chcąc wyciągnąć dane z datą wsteczną o 7 dni od wskazanej robię to tak select * from historia
where kiedy='2012-03-11' + INTERVAL '7' DAY
. Jednak zwraca mi błąd
SQL Error: ORA-30081: invalid data type for datetime/interval arithmetic
30081. 00000 - "invalid data type for datetime/interval arithmetic"
*Cause: The data types of the operands are not valid for datetime/interval
arithmetic.
Jak to poprawić?