Hi Buddy ,
I think the problem lies with ur Inner Joins.
Please understand the following example
Select a.(attribute1),a.(attribute2),a.(attribute3),b.(attribute1),b.(attribute2),b.(attribute3),c.(attribute1),c.(attribute2),c.(attribute3),d.(attribute1),d.(attribute2),d.(attribute3)
From (Tablename1) as a Inner Join (TableName2) as b on a.(attribute1)= b.(attribute2) Inner Join (TableName3) as c on (b.attribute1)=(c.attribute1) Inner Join (TableName 4) as d on c.(attribute1)=d.(attribute1) Where (//Specify ur own Condition Here).
I think the error in the code was you defined all Innerjoins at once without specifying the condition particular to a specific inner join
Mark As Answer if this helps you
Further Queries Recommended
Happy Coding