Question: 6. Regular Expressions/SQL. Write SQL for the following problems on the university database. A. Find students whose name is properly capitalized (both first and last

6. Regular Expressions/SQL.

Write SQL for the following problems on the university database.

A. Find students whose name is properly capitalized (both first and last name start from an upper-case letter, rest of the name is lower-case). Hint: you can use [A-Z] to represent any upper case letter in regular expressions.

B. Find course titles that consist of exactly 3 words (e.g., Theory of Computation).

C. Find students whose SSN numbers has a pattern of 321 repeated twice (sequentially).

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!