Skip to content

Tag: sql

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 …

Trigger to delete rows from table

I’m trying to create a Trigger for when records in a log table exceed a certain number of rows I want to start purging them by x amount of old records and keeping the new records by a certain date. …