Question: SQL exercises for a library database: a. Write a SELECT statement that returns the titles, and ISBN numbers of all the books with titles longer
SQL exercises for a library database:
a. Write a SELECT statement that returns the titles, and ISBN numbers of all the books with titles longer than 40 characters. List the books in the order of the lengths of their titles.
b. Repeat exercise a., this time selecting books with titles shorter than 20 characters OR longer than 40 characters.
c. Repeat exercise a., this time selecting books whose titles are longer than 20 characters but shorter than 40 characters.
d. Write a SELECT statement that returns the titles of all books containing the string PRO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
