Question
In the table moma.artists, find all artists who do not have any artwork in the database! Look for missing artwork_id in the table moma.artwork_artist. Sort
In the table moma.artists, find all artists who do not have any artwork in the database! Look for missing artwork_id in the table moma.artwork_artist. Sort the names of the artists by their last name. Use the last word in the text string name: Given the heterogeneity of the data, that's as close to a last name as it gets. Skip the first 7 rows which are organizations rather than individual artists. Expected result:
Hint: In the ORDER BY clause, use REGEXP_REPLACE(name, '(.*) +(.*)', '\2 \1') instead of name.
Create the left outer join of the tables moma.artists and moma.artwork_artist.
Filter all rows where artwork_id is NULL.
At the end use OFFSET 7.
\begin{tabular}{ll|l} name & artwork_id \\ Aino Aalto & id \\ Martine Aballea & NULL \\ Jussuf Abbo & NULL \\ Adolf Abel & NULL \\ Ljungberg's Textile AB & NULL \end{tabular}
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