I am trying to write a statement that will produce “Oracle$$$Internet$$$Academy” using LPAD and RPAD commands. this is what I have so far, but I am getting a missing right parenthesis error.
SELECT LPAD(RPAD('Oracle', 10,'$$$')RPAD('Internet',24,'$$$'))
FROM dual;
Do you need to use both RPAD and LPAD? If not, you are simply missing the concatenation characters of ||
EDIT: Even better: