Skip to content
Advertisement

How to get missing values in sql?

I need help.

I have a sql table t2 related to two other tables t1 and t3.

t2 has fields:

I’m searching for values, where ifFromt3 is missing. I want to fint in this example, the value ifFromt3 = 3, because of it’s not present.

I’m doing it like this example, but it doesn’t work correctly.

This are the 3 tables.

UPDATE:

Tables with data: http://www.2shared.com/photo/40yY6FC-/Untitled.html

And I need a query, that returns all missing combinations in table LangugageMessageCodes.

In this case:

please. help.

regards.

Advertisement

Answer

or

or

Update:

Try this:

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