Jezzy Grey


text to sql syntaxFri, 17 Feb 2023

The catalog_book table has the following columns: id - id summary - description isbn - isbn author_id - Author ID title - title language_id - The language of the book The catalog_author table has the following columns: id - id first_name - First name last_name - last name date_of_birth - Date of birth date_of_death - Date of death The catalog_bookinstance table has the following columns: id - id imprint - imprint due_back - Due date back status - status book_id - book id Print the titles of the books, their authors, a short description for the books, the language of the book. Consider only living authors who have books in the "o" status.

SELECT title,first_name,last_name,summary,language_id FROM catalog_book b JOIN catalog_author a ON JOIN catalog_bookinstance bi ON WHERE bi.status='o' AND a.date_of_death IS NULL;

Questions about programming?Chat with your personal AI assistant