Friend depends on the structure you are creating and relationships can change:
In case your structure has an actor per series and movie you can add a foreign key in Movies and series to Actors:
ALTER TABLE MoviesData
ADD FOREIGN KEY (Actors) REFERENCES Actors(ActorsID);
ALTER TABLE SeriesData
ADD FOREIGN KEY (Actors) REFERENCES Actors(ActorsID);
If your Movies and Seires structure can have more than one Actor then its structure is N:N, many to many. Then 2 ration tables should be created for Moviesdata and Seriesdata:
CREATE TABLE MoviesData_Actors (
ActorsID INT UNSIGNED NOT NULL,
MoviesDataID INT UNSIGNED NOT NULL,
PRIMARY KEY (ActorsID, MoviesDataID),
FOREIGN KEY (ActorsID) REFERENCES Actors(ActorsID),
FOREIGN KEY (MoviesDataID) REFERENCES MoviesData(MoviesDataID)
)
CREATE TABLE SeriesData_Actors (
ActorsID INT UNSIGNED NOT NULL,
SeriesDataID INT UNSIGNED NOT NULL,
PRIMARY KEY (ActorsID, SeriesDataID),
FOREIGN KEY (ActorsID) REFERENCES Actors(ActorsID),
FOREIGN KEY (SeriesDataID) REFERENCES SeriesData(SeriesDataID)
)
But if you wanted to create a relationship table between the 3 tables just create a table with the 3 keys and reference them.
CREATE TABLE SeriesData_Actors (
ActorsID INT UNSIGNED NOT NULL,
SeriesDataID INT UNSIGNED NOT NULL,
MoviesDataID INT UNSIGNED NOT NULL,
PRIMARY KEY (ActorsID, MoviesDataID ,SeriesDataID),
FOREIGN KEY (ActorsID) REFERENCES Actors(ActorsID),
FOREIGN KEY (MoviesDataID) REFERENCES MoviesData(MoviesDataID),
FOREIGN KEY (SeriesDataID) REFERENCES SeriesData(SeriesDataID)
)
I hope I helped.