Uber interview question

simple coding sql pl sql java