I have two tables but I'm thinking it should be one.
CourseID, Title, Description, Objectives, Price, Length, Prerequisites
the other is:
CourseID (where this is checked against the Courses table, must exist in the Courses table), CategoryID, TypeID, SubTypeID, Type
First off I'm a designer not a developer. My question is should I have made this one table? I think I created it this way in case one course had more than one detail. But I realize one course has one CategoryID and TypeID etc. Anyway I have built a site using this db (small db, 200 items) So I probably should keep as is.
I have been inputting new items in the Courses table and then inputting them in the CoursesDetails table.
If I keep both tables how can I add the Title to the CourseDetails table without manually adding them all? All the CourseIDs are in but I want to add the Titles now, the Title column is only in the Courses column. Also in the future how can I update the CourseID, and Title columns in both the Courses table and the CourseDetails table?
Any help is greatly appreciated!