sql - Need to fetch records from one table which is not present in another one table -
I have two tables, one table has three columns and the other is two columns. I need to get a record from Table 1, which is not present in Table 2. For example, enter I need the result as shown below This should work:
C1C2C3---- ---- 1 3 3 2 1 4
Select Table 1 * 1 Table 1 from Left Otar to Table 1 on Table 2. C1 = Table 2 C1 and Table 1 C2 = Table 2. C2 Where Table 2 C1 is zero and table 2 C2 is null
Comments
Post a Comment