Delete Duplicates and Insert Flashcards SQL