├── README.md ├── advanced-join ├── 15_days_of_learning_SQL.sql ├── interviews.sql ├── placements.sql ├── projects.sql └── symmetric_pairs.sql ├── advanced-select ├── binary-tree-nodes.sql ├── new-companies.sql ├── occupations.sql ├── the-pads.sql └── type-of-triangle.sql ├── aggregation ├── average-population.sql ├── japan-population.sql ├── population-density-difference.sql ├── revising-aggregation-averages.sql ├── revising-aggregation-the-count-function.sql ├── revising-aggregation-the-sum-function.sql ├── the-bundler.sql ├── top-earners.sql ├── weather-observation-station-1.sql ├── weather-observation-station-13.sql ├── weather-observation-station-14.sql ├── weather-observation-station-15.sql ├── weather-observation-station-16.sql ├── weather-observation-station-17.sql ├── weather-observation-station-18.sql ├── weather-observation-station-19.sql ├── weather-observation-station-2.sql ├── weather-observation-station-3.sql ├── weather-observation-station-4.sql ├── weather-observation-station-5.sql ├── weather-observation-station-6.sql ├── weather-observation-station-7.sql └── weather-observation-station.20.sql ├── alternative-queries ├── draw_the_triangle_1.sql ├── draw_the_triangle_2.sql └── print_prime_numbers.sql ├── basic-join ├── african-cities.sql ├── asian-population.sql ├── average-population-of-each-continent.sql ├── challenges.sql ├── contest_leaderboard.sql ├── ollivanders_Inventory.sql ├── the-report.sql └── top-competitors.sql └── basic-select ├── employee-names.sql ├── employee-salaries.sql ├── higher-than-75-marks.sql ├── japanese-cities-attributes.sql ├── japanese-cities-names.sql ├── revising-the-select-query-i.sql ├── revising-the-select-query-ii.sql ├── select-all.sql ├── select-by-id.sql ├── weather-observation-station-1.sql ├── weather-observation-station-10.sql ├── weather-observation-station-11.sql ├── weather-observation-station-12.sql ├── weather-observation-station-3.sql ├── weather-observation-station-4.sql ├── weather-observation-station-5.sql ├── weather-observation-station-6.sql ├── weather-observation-station-7.sql ├── weather-observation-station-8.sql └── weather-observation-station-9.sql /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/README.md -------------------------------------------------------------------------------- /advanced-join/15_days_of_learning_SQL.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-join/15_days_of_learning_SQL.sql -------------------------------------------------------------------------------- /advanced-join/interviews.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-join/interviews.sql -------------------------------------------------------------------------------- /advanced-join/placements.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-join/placements.sql -------------------------------------------------------------------------------- /advanced-join/projects.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-join/projects.sql -------------------------------------------------------------------------------- /advanced-join/symmetric_pairs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-join/symmetric_pairs.sql -------------------------------------------------------------------------------- /advanced-select/binary-tree-nodes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-select/binary-tree-nodes.sql -------------------------------------------------------------------------------- /advanced-select/new-companies.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-select/new-companies.sql -------------------------------------------------------------------------------- /advanced-select/occupations.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-select/occupations.sql -------------------------------------------------------------------------------- /advanced-select/the-pads.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-select/the-pads.sql -------------------------------------------------------------------------------- /advanced-select/type-of-triangle.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/advanced-select/type-of-triangle.sql -------------------------------------------------------------------------------- /aggregation/average-population.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/average-population.sql -------------------------------------------------------------------------------- /aggregation/japan-population.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/japan-population.sql -------------------------------------------------------------------------------- /aggregation/population-density-difference.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/population-density-difference.sql -------------------------------------------------------------------------------- /aggregation/revising-aggregation-averages.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/revising-aggregation-averages.sql -------------------------------------------------------------------------------- /aggregation/revising-aggregation-the-count-function.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/revising-aggregation-the-count-function.sql -------------------------------------------------------------------------------- /aggregation/revising-aggregation-the-sum-function.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/revising-aggregation-the-sum-function.sql -------------------------------------------------------------------------------- /aggregation/the-bundler.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/the-bundler.sql -------------------------------------------------------------------------------- /aggregation/top-earners.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/top-earners.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-1.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-13.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-13.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-14.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-14.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-15.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-15.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-16.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-16.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-17.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-17.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-18.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-18.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-19.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-19.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-2.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-3.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-3.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-4.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-4.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-5.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-5.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-6.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-6.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station-7.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station-7.sql -------------------------------------------------------------------------------- /aggregation/weather-observation-station.20.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/aggregation/weather-observation-station.20.sql -------------------------------------------------------------------------------- /alternative-queries/draw_the_triangle_1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/alternative-queries/draw_the_triangle_1.sql -------------------------------------------------------------------------------- /alternative-queries/draw_the_triangle_2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/alternative-queries/draw_the_triangle_2.sql -------------------------------------------------------------------------------- /alternative-queries/print_prime_numbers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/alternative-queries/print_prime_numbers.sql -------------------------------------------------------------------------------- /basic-join/african-cities.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/african-cities.sql -------------------------------------------------------------------------------- /basic-join/asian-population.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/asian-population.sql -------------------------------------------------------------------------------- /basic-join/average-population-of-each-continent.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/average-population-of-each-continent.sql -------------------------------------------------------------------------------- /basic-join/challenges.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/challenges.sql -------------------------------------------------------------------------------- /basic-join/contest_leaderboard.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/contest_leaderboard.sql -------------------------------------------------------------------------------- /basic-join/ollivanders_Inventory.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/ollivanders_Inventory.sql -------------------------------------------------------------------------------- /basic-join/the-report.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/the-report.sql -------------------------------------------------------------------------------- /basic-join/top-competitors.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-join/top-competitors.sql -------------------------------------------------------------------------------- /basic-select/employee-names.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/employee-names.sql -------------------------------------------------------------------------------- /basic-select/employee-salaries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/employee-salaries.sql -------------------------------------------------------------------------------- /basic-select/higher-than-75-marks.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/higher-than-75-marks.sql -------------------------------------------------------------------------------- /basic-select/japanese-cities-attributes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/japanese-cities-attributes.sql -------------------------------------------------------------------------------- /basic-select/japanese-cities-names.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/japanese-cities-names.sql -------------------------------------------------------------------------------- /basic-select/revising-the-select-query-i.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/revising-the-select-query-i.sql -------------------------------------------------------------------------------- /basic-select/revising-the-select-query-ii.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/revising-the-select-query-ii.sql -------------------------------------------------------------------------------- /basic-select/select-all.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/select-all.sql -------------------------------------------------------------------------------- /basic-select/select-by-id.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/select-by-id.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-1.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-10.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-10.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-11.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-11.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-12.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-12.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-3.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-3.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-4.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-4.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-5.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-5.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-6.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-6.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-7.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-7.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-8.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-8.sql -------------------------------------------------------------------------------- /basic-select/weather-observation-station-9.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vinibrsl/hackerrank-sql/HEAD/basic-select/weather-observation-station-9.sql --------------------------------------------------------------------------------