I follow one tutorial on PHP and MySQL. At this point I should create a database that should look like this:

I created the databases manually, but I do not understand the point in the roll table. For example, let's say I want to add a movie: how will I do this because I am not allowed? Error example:
I personally would do something like:
Table artist: artistId , first name, last name, nationality, dateOfBirth, otherInfo Tabletop film: movieCode, name, image, category, description, artistId
Being bold, foreign keys associated with it. However, I do not understand the concept of using a roll table. Can someone clarify this for me since I would like to do it like a textbook pretending to teach?
Database Scheme I still have:
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; CREATE TABLE IF NOT EXISTS `artist` ( `artistId` int(10) unsigned NOT NULL AUTO_INCREMENT, `firstName` char(30) NOT NULL, `lastName` char(30) NOT NULL, `dateOfBirth` date NOT NULL, `nationality` char(30) NOT NULL, `otherInfo` text NOT NULL, PRIMARY KEY (`artistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `movie` ( `movieCode` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` char(30) NOT NULL, `image` varchar(50) NOT NULL, `category` char(50) NOT NULL, `movieDesc` text NOT NULL, PRIMARY KEY (`movieCode`), UNIQUE KEY `title` (`title`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `roll` ( `movieCode` int(10) unsigned NOT NULL, `artistId` int(10) unsigned NOT NULL, PRIMARY KEY (`movieCode`,`artistId`), KEY `artistId` (`artistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `user` ( `userId` int(10) unsigned NOT NULL AUTO_INCREMENT, `firstName` char(30) NOT NULL, `lastName` char(30) NOT NULL, `username` char(30) NOT NULL, `password` char(20) NOT NULL, `usertype` int(1) unsigned NOT NULL, PRIMARY KEY (`userId`), UNIQUE KEY `username` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ALTER TABLE `movie` ADD CONSTRAINT `movie_ibfk_1` FOREIGN KEY (`movieCode`) REFERENCES `roll` (`movieCode`) ON DELETE CASCADE; ALTER TABLE `roll` ADD CONSTRAINT `roll_ibfk_1` FOREIGN KEY (`artistId`) REFERENCES `artist` (`artistId`) ON DELETE CASCADE;