Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT MAX(rcqtr_num) FROM rcprod11
SELECT quarter
FROM rcqtr
WHERE rcqtr_num = [b]the_result[/b]
SELECT r.quarter
FROM rcqtr r, (SELECT MAX(rcqtr_num) mymax FROM rcprod11) a
WHERE r.rcqtr_num = a.mymax;
'Do not believe when someone tells you that Oracle (including PL/SQL) doesn't do it better until they give you facts and figures. "As I recall" and "I thought I heard" are not measurable facts.'
-- Jaggiebunnet, July 13, 2004
Thanks guys. The query took less than 1 second to finish the execution.
SELECT r.quarter
FROM rcqtr r, (SELECT MAX(rcqtr_num) mymax FROM rcprod11) a
WHERE r.rcqtr_num = a.mymax;