put together two selects in one column in sql (apex) -


i have 3 tables: reservation (with foreign key showing_id_showing), showing (with column "date" , foreign key film_id_film) , film (with column "title"). need show date film title in 1 column.

separately this, don't know how put together.

(select date showing id_showing=showing_id_showing) "date", (select title film id_film=film_id_film) "title", 

to result set multiple tables in sql server can sql join command. below similar example using inner join:

select s.date,t.title showing s  inner join title  on t.id_film = t.film_id_film  s.id_showing=s.showing_id_showing 

the actual solution may vary per table schema definition.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -