Question

Body) AaBbCcDd AaBbCcDd A 1 Normal 1No Spac... Font Paragraph Styles Movie Database Entity Relationship Diagram (ERD) Use this ERD when accomplishing Assessments 2, 3&4 MOVIE STAR STAR STAR ID FIRSTNAME LAST NAME STAR ID - DIRECTOR MOVIE MOVIE ID TITLE GENRE MPAA FIRST NAME LAST NAME RELEASE DATE LENGTH MINUTES DIRECTOR ID pts) Regal Theaters also wants to be able to search for a movie title without tivity. For example the query SELECT FROM MOVIE WHERE TITLE> JAW
media%2Fa24%2Fa2450e6a-7c08-404e-a8f2-21
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: See the answer below:

--------------------------------------------------------

Select MOVIE.TITLE, CONCAT(DIRECTOR.FIRST_NAME,DIRECTOR.LAST_NAME) AS DIRECTOR_NAME, CONCAT(STAR.FIRST_NAME,STAR.LAST_NAME) AS STAR_NAME FROM MOVIE, DIRECTOR, STAR, MOVIE_STAR WHERE MOVIE.DIRECTOR_ID = DIRECTOR.DIRECTOR_ID AND MOVIE.MOVIE_ID = MOVIE_STAR.MOVIE_ID AND MOVIE_STAR.STAR_ID = STAR.STAR_ID

------------------------------------------------------

Note: In SQL, to concatenate two columns, CONCAT() function can be used.

Add a comment
Know the answer?
Add Answer to:
Body) AaBbCcDd AaBbCcDd A 1 Normal 1No Spac... Font Paragraph Styles Movie Database Entity Relationship Diagram...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • AaBbCcDd AaBbCcDd AaBCC 1 Normal 1 No Spac... Heading 1 Font Paragraph Styles The most recently...

    AaBbCcDd AaBbCcDd AaBCC 1 Normal 1 No Spac... Heading 1 Font Paragraph Styles The most recently paid dividend by Bridges & Associates was $0.625 per share. Its dividend is expected to grow at 20%, 25% and 35% during the coming 3 years. But after 3 years, dividend growth will slow down to a constant rate of 6% per year. The required rate of return on the stock of Bridges & Associates is 10%. 1. What is the value of the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT