Skip to content

Tag: oracle

How to get totals from another table

I have table 1 of Cars and table 2 Trips. Below are the two tables fields –CARS table car_id (PK), car_model, car_miles –TRIPS table trip_id (PK), trip_destination, trip_date, trip_miles, car_id (…

oracle: remove only blank lines

How to remove empty lines in sql or plsql Input select ‘test1 test2 test3 test4’ from dual; Expected output: test1 test2 test3 test4 TRANSLATE is removing all the new line character