skip to Main Content

Postgresql – How to apply several selects for several joins?

I want to join columns from several tables. For one table join works fine select org.catalog_truck.plate_number as "Госномер грузовика", shift_id as "ID смены", trip_id as "ID рейса", * from core.monitoring_stages join org.catalog_truck on vehicle_id = org.catalog_truck.catalog_truck_id where gen_id = (SELECT…

VIEW QUESTION

Convert Inner Join to Subquery in PostgreSQL

I am joining two tables with the student table using the inner join below: select (first_name || ' ' ||last_name) as "Student Name", gender, race from student inner join gender on student.gender_id = gender.gender_id inner join race on student.race_id =…

VIEW QUESTION
Back To Top
Search