sql select first occurrence that matches condition code example Example: sql select only first occurrence SELECT FIRST(column_name) FROM table_name;