
above are the part of my database diagram where i am getting problem!
select columns from 3 table with the help of referencing from 1 outside table base_table and 3 table . But Sql displaying a error
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >
How to resolve this! Is there is any better way of doing this. I am new to sql and this is the part of my school project
One more thing the base_id from base_table i i will pass through the procedure in C# The following are the code which giving the error.
USE [shangrila] select a.source,a.destination, b.flight_name, c.flight_cost,c.flight_seat,c.flight_type, d.flight_time from base_table a, flight_main_table b, flight_cost_table c, flight_timing_table d where a.base_id=109 and b.base_id=109 and c.flight_id=(select flight_id from flight_main_table where base_id=109) and d.flight_id=(select flight_id from flight_main_table where base_id=109) go