Assignment_1[1] dbms
Assignment_1[1] dbms
SUBMIITED BY:
ABHISHEK KUMAR
SUBMIITED TO:
Ms. SURABHI SANKAR
SQL QUERY:-
SQL QUERY:-
SQL QUERY:-
SQLQUERY :-
6. Insert five books into the Books table, associating them with the authors created in step
→ INSERT INTO Books (isbn, title, author_id)
VALUES
(101, 'Harry Potter', 1),
(102, '1984', 2),
(103, 'Animal Farm', 2),
(104, 'Murder on sea', 3),
(105, 'The ABC Murders', 3);
7. Insert five members into the Members table.
→ INSERT INTO Members (member_id, membername)
VALUES
(201, 'John Doe'),
(202, 'Jane Smith'),
(203, 'Alice Johnson'),
(204, 'Bob Brown'),
(205, 'Charlie Davis');