Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your final task this week, is simply to chart out what kind of SQL queries your tagging system might need to run. From there, create
Your final task this week, is simply to chart out what kind of SQL queries your tagging system might need to run. From there, create a DAO interface which declares the methods that will call those queries. You won't need to implement them yet, that's a task for the next dive.
You will need, at minimum:
- A method to add a tag to a book, given the tag name and a reference to a book (either a Book reference variable or just an ISBN-13)
- A method to remove a tag from a book, given the tag name and a reference to a book (either a Book reference variable or just an ISBN-13)
- A method to retrieve all tags that have been added to a given book
- A method to retrieve all books that have a given tag. Hint: This will require either a SQL JOIN statement or a nested query.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started