Amazon interview question

array = [1, 4, 7, 9,11, 15, 13]. Write a function to return missing integers. 2 tables in SQL and use LEFT JOIN