Accepted Answer
A function that displays the customer who has the highest credit limit is given below:The nested query to display the customer names and credit limit with a lower credit limit than the customer in SunnyvaleSELECT Name,CREDITLIMIT FROM CUSTOMERS WHERE CREDITLIMIT < (SELECT CREDITLIMIT FROM CUSTOMERS WHERE CITY = 'Sunnyvale')ORDER BY CREDITLIMIT For Multiple CustomersSELECT Name,CREDITLIMIT FROM CUSTOMERS WHERE CREDITLIMIT < (SELECT MAX(CREDITLIMIT) FROM CUSTOMERS WHERE CITY = 'Sunnyvale')ORDER BY CREDITLIMIT Read more about SQL here:https://brainly.com/question/27851066#SPJ1