35. Based on the code above, list the number, name, credit limit, and balance for all customers with credit limits that
exceed their balances.
SELECT CustomerNum, CustomerName FROM Customer WHERE CreditLimit>Balance ;
SELECT CustomerNum, CustomerName, CreditLimit, Balance FROM Customer WHERE
CreditLimit>Balance ;
SELECT CustomerNum, CustomerName, Balance FROM Customer WHERE CreditLimit>Balance ;
SELECT CustomerNum, CustomerName, CreditLimit, Balance FROM Customer ;
36. Based on the code above, list the number, name, and balance of all customers with balances greater than or equal to
$2,000 and less than or equal to $5,000.
SELECT CustomerNum, CustomerName, Balance FROM Customer WHERE Balance BETWEEN 2000
AND 5000 ;
SELECT CustomerNum, CustomerName, Balance FROM Customer WHERE Balance > 2000 ;
SELECT CustomerName, Balance FROM Customer WHERE Balance BETWEEN 2000 AND 5000 ;
SELECT CustomerNum, CustomerName FROM Customer WHERE Balance BETWEEN 2000 AND 5000 ;
37. Based on the code above, list the number, name, and available credit for all customers with credit limits that exceed
their balances.
SELECT CustomerNum, CustomerName AS AvailableCredit FROM Customer WHERE
CreditLimit>Balance ;
SELECT CustomerNum, CustomerName, CreditLimit AS AvailableCredit FROM Customer WHERE
CreditLimit>Balance ;
SELECT CustomerNum, CustomerName, Balance AS AvailableCredit FROM Customer WHERE
CreditLimit>Balance ;
SELECT CustomerNum, CustomerName, CreditLimit-Balance AS AvailableCredit FROM Customer
WHERE CreditLimit>Balance ;
38. Based on the code above, list the number, name, and complete address of every customer located on a street that
contains the letters “Oxford”.
SELECT CustomerNum, CustomerName, Street, City, State, PostalCode FROM Customer WHERE Street
LIKE “?Oxford” ;
SELECT CustomerNum, CustomerName, Street, City, State, PostalCode FROM Customer WHERE Street
LIKE “%Oxford%” ;
SELECT CustomerNum, CustomerName, Street, City, State, PostalCode FROM Customer WHERE Street
LIKE “@Oxford@” ;
SELECT CustomerNum, CustomerName, Street, City, State, PostalCode FROM Customer WHERE Street