Skip to content
Advertisement

SQL Get certain value form two tables and make result set multiple rows

I have two tables:

I tried using the statement above but it would not work.

I need the statement to return all the tables that have the word john in it.

Advertisement

Answer

You want union all:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement