cross join

  • good morning

    I wanna to put a sub query in the cross join like that

    SELECT *

    FROM table1

    CROSS JOIN (select field

    from table2

    cross join table3)

    but i got this error

    Msg 102, Level 15, State 1, Line 7

    Incorrect syntax near ')'.

    can anyone help me!!!!

  • You need to alias your derived table.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply