Hello, I’m Nilesh

Tag: Join

  • Outer joins and search predicates

    We often use outer joins to construct queries and get the expected output, but what if you get an unexpected output and the query seems OK. A few days ago, I experienced the same thing and discovered the problem with the placement of the predicate (search condition). Let’s take an example : We’ll use the […]

  • Update with join and unexpected output

    Recently one of my colleagues was writing a trigger, and in that, he’s having Update Query with join, syntax, and everything was right, but he’s not getting the expected output. To understand the situation, let’s take an example. Create two temporary tables: And Inset the following values in both tables. Now both the table contains […]