How do I define relation rules in mysql?
Table1: bookId authorId bookName
Table2: authorId authorName
This is how I would like the Mysql server to behave: When I try to insert a row into table1 with a authorId that doesn't exsist in table2, mysql would produce a error.