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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!