Skip to content
Advertisement

How can I Compare multiple ids in where condition

I have multiple ids in my $temp like(7,8,9) and I want to compare there ids in my where condition like $this->db->where_in(‘c.mr_no’,$temp); but it compare only first id I am trying like this:…

Impala SQL LEFT ANTI JOIN

Goal is to find the empid’s for a given timerange that are present in LEFT table but not in RIGHT table. I have the following two Impala queries which I ran and got different results? QUERY 1: select …

Advertisement