Skip to content

SQL 50 - 595. Big Countries #19482

@HemaS2023

Description

@HemaS2023

A country is big if:

it has an area of at least three million (i.e., 3000000 km2), or
it has a population of at least twenty-five million (i.e., 25000000).
Write a solution to find the name, population, and area of the big countries.

The above question has an or condition. When we execute the where clause with or condition its returning 3 records and is not matching with the expected results.
The result is as expected with and condition but is logically wrong according to the question

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions