Lab2
Lab2
Public
Step 2: Insert Records
Query’s:-
INSERT INTO Authors (FirstName, LastName, Biography)
VALUES
VALUES
('Fiction'),
('Science'),
('Technology'),
('Philosophy');
Public
VALUES
VALUES
VALUES
Public
Step 3: Queries
1. Write a query to calculate number of authors present in the Authors table?
2. Write a query to get average number of books available in the Books table?
Public
3. Write a query to calculate minimum publication year of books in the Books table?
5. Write a query to get a list of all members and the books they have borrowed. Include
members who have not borrowed any books.
Public
6. Retrieve a list of all authors and the total number of books they have written
7. List all books along with their author’s full name and publication year.
Public
Public