SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select application_date from ( select *, dense_rank() over(partition by a.first_name, a.last_name order by l.loan_amount desc) as dr from application a left join loan l on a.loan_id=l.loan_id where a.first_name='John' and a.last_name='Smith' ) result where dr=1
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear