Question 48 of 110Programming Basicssql

A database table is defined as customers(cust_id, name, city), and many customers can live in the same city. Which of the following SQL queries correctly returns a single number: the count of DIFFERENT cities in which the customers live?

The verified answer and full solution are one login away

Every answer here is machine verified, with a step-by-step solution that teaches the method. Your login also unlocks a 7-question mock preview in the real exam interface.

Log in to see the answer
← Q47Q49Attempt the full timed mock

More sql questions