My SQL is a little rusty. Table 1 (High School) contains High_school_Id and High_School_Name. Table 2 (High School Students) contains student records with High_School_Name duplicated. I want High School to contain a list of unique high school names.
I tried the following with no success.
Insert into [High School] (High_School_Name)
where not exists
(Select [High School Students] (High_School_Name);
This gives an error on the insert. I'm in Access in the SQL view. What's wrong?
I tried the following with no success.
Insert into [High School] (High_School_Name)
where not exists
(Select [High School Students] (High_School_Name);
This gives an error on the insert. I'm in Access in the SQL view. What's wrong?