试试这个查询
SELECt book.BookName, autor.FirstName, autor.LastName, rubric.RubricName FROM bookautorJOIN book ON book.BookID=bookautor.BookID JOIN autor on autor.AutorID=bookautor.AutorID left join bookrubric on book.BookID=bookrubric.BookIDLEFT JOIN rubric ON rubric.RubricID=bookrubric.RubricID;
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)