AC
Size: a a a
AC
G
К
H
К
K
K
К
IS
K
NP
IS
К
L
Q
cmd = new SqlCommand("update books, Authors, genre, Title_Author " +
"inner join books b on b.id = Title_Author.book_id " +
"inner join Authors a on a.id = Title_Author.author_id " +
"left join genres on genre_id = genre " +
"set b.id=@book_id, " +
"b.title=@title, " +
"a.Author=@author, " +
"b.publisher=@publisher, " +
"b.year_of_pub=@year_of_pub, " +
"genre_name=@genres " +
"where b.id=@selected_book_id", con);
G
cmd = new SqlCommand("update books, Authors, genre, Title_Author " +
"inner join books b on b.id = Title_Author.book_id " +
"inner join Authors a on a.id = Title_Author.author_id " +
"left join genres on genre_id = genre " +
"set b.id=@book_id, " +
"b.title=@title, " +
"a.Author=@author, " +
"b.publisher=@publisher, " +
"b.year_of_pub=@year_of_pub, " +
"genre_name=@genres " +
"where b.id=@selected_book_id", con);