Informatics Practices > Database Query using SQL > Querying And Grouping
Consider the following table
CLIENTTable: CLIENT

I. Which attribute in the Table can be considered as the Candidate Keys? Provide justification for your answer. II. Write a suitable SQL query to remove those rows of table CLIENT whose city is DELHI. III. Write the output of the following SQL Query:
SELECT CITY, COUNT(*) FROM CLIENT GROUP BY CITY HAVING COUNT(CITY)<>2;Current Session
Community Stats
Track Your Progress
Sign up to save your practice progress and get personalized insights across all topics.