Information about customers is stored in the CUSTOMER table. Write a query to print the ID, FIRST_NAME,
Fantastic news! We've Found the answer you've been seeking!
Question:
Information about customers is stored in the CUSTOMER table. Write a query to print the ID, FIRST_NAME, and LAST_NAMES of the customers whose combined name length, i.e, the sum of the length of the FIRST_NAME and LAST_NAME, is less than 12. The IDS and names should be printed in the ascending order of the combined name length. If two or more customers have the same combined name length, sort the result in lexicographical order of the full names (FIRST_NAME + LAST_NAME without a space between, and ignoring case). If two or more customers have the same full name, sort those results by 1D, ascending.Input FormatCUSTOMER
Related Book For
Database Systems Design Implementation and Management
ISBN: 978-1285196145
11th edition
Authors: Carlos Coronel, Steven Morris
Posted Date: