In MySQL (given that they have a FULLTEXT index): I have 3 tables: Video, Pictur
ID: 3533150 • Letter: I
Question
In MySQL (given that they have a FULLTEXT index):
I have 3 tables: Video, Picture and Sound. Please make a SQL/PSM function that makes you do a free text search query of the content from the Description row and the Title row. The free text search must return those multimedia objects that best matches the query, preferably in order of relevance. Use the MATCH function to execute the query.
Tables:
Video(VideoID, Description, Place, Time, Position, URL)
Picture(PictureID, Description, Place, Time, Position, URL)
Sound(SoundID, Description, Place, Time, Position, URL)
Any questions, feel free to ask!
Explanation / Answer
select videoID, Description , Place , Time , Position , URL from Video;
select PictureID, Description , Place , Time , Position , URL from Picture;
select SoundID, Description , Place , Time , Position , URL from Sound;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.