An open API service indexing awesome lists of open source software.

https://github.com/asjordi/codewars-sql

Soluciones para los ejercicios de codewars.com con SQL
https://github.com/asjordi/codewars-sql

codewars codewars-solutions interview learn-to-code postgresql problem-solving sql

Last synced: 11 months ago
JSON representation

Soluciones para los ejercicios de codewars.com con SQL

Awesome Lists containing this project

README

          

# Ejercicios de CodeWars con SQL :computer:

Este repositorio contiene mis soluciones a los ejercicios disponibles en [CodeWars](https://www.codewars.com) utilizando SQL.

## ¿Qué es CodeWars? :question:

CodeWars es una plataforma en línea que ofrece ejercicios para mejorar las habilidades de programación. Cada ejercicio
tiene una descripción y un conjunto de pruebas automatizadas que deben pasar para considerarse completado. Después de
completar un ejercicio, se puede enviar para recibir comentarios y sugerencias de otros programadores en la comunidad.

## Estructura del repositorio :file_folder:

Los ejercicios se organizan en carpetas según su nivel de dificultad. Dentro de cada carpeta se encuentra una serie de archivos que hacen referencia a un ejercicio específico.

## Contenido :books:

8 kyu



  1. Even or Odd -


  2. String Repeat -


  3. Convert boolean values to strings 'Yes' or 'No' -


  4. Count Odd Numbers Below N -


  5. Count By X -


  6. 101 Dalmatians - squash the bugs, not the dogs! -


  7. Adults only (SQL for Beginners #1) -


  8. Grasshopper - Check for factor -


  9. Collect Tuition (SQL for Beginners #4) -


  10. Beginner Series #2 Clock -


  11. Easy SQL: Convert to Hexadecimal -


  12. Century From Year -


  13. Count the number of cubes with paint on -


  14. Easy SQL - Ordering -


  15. Expressions Matter -


  16. Fake Binary -


  17. 1. Find all active students -


  18. Get Nth Even Number -


  19. Grasshopper Summation -


  20. Is it a palindrome? -


  21. Is n divisible by x and y? -


  22. Keep Hydrated -


  23. Easy SQL: LowerCase -


  24. Make UpperCase -


  25. Grasshopper - Messi goals function -


  26. SQL Basics: Mod -


  27. Multiply -


  28. Never visit a . . . !? -


  29. On the Canadian Border (SQL for Beginners #2) -


  30. Opposite Number -


  31. Opposites Attract -


  32. Quarter of the year -


  33. Register for the Party (SQL for Beginners #3) -


  34. Remove Exclamation Marks -


  35. Remove First And Last Character -


  36. Remove String Spaces -


  37. Returning Strings -


  38. Reversed Strings -


  39. Easy SQL: Rounding Decimals -


  40. Beginner Series #1 School Paperwork -


  41. SQL Grasshopper: Select Columns -


  42. SQL Basics: Simple DISTINCT -


  43. SQL Basics: Simple MIN / MAX -


  44. Simple Multiplication -


  45. SQL Basics: Simple SUM -


  46. SQL Basics: Simple WHERE and ORDER BY -


  47. Easy SQL: Square Root and Log -


  48. Function 2 - squaring an argument -


  49. Surface Area and Volume of a Box -


  50. Grasshopper - Terminal game move function -


  51. Third Angle of a Triangle -


  52. Will you make it? -

7 kyu



  1. Easy SQL: Absolute Value and Log to Base -


  2. Easy SQL: ASCII Converter -


  3. Best-Selling Books (SQL for Beginners #5) -


  4. Easy SQL: Bit Length -


  5. SQL: Bytes in String from Ints -


  6. Categorize and Count Job Applications Based on Status -


  7. Centered pentagonal number -


  8. Classifying Transactions by Number of Suppliers -


  9. Complementary DNA -


  10. SQL: Concatenating Columns -


  11. Easy SQL: Counting and Grouping -


  12. Countries Capitals for Trivia Night (SQL for Beginners #6) -


  13. SQL Basics: Create a FUNCTION -


  14. Easy SQL: Cube Root and Natural Log -


  15. Customers with All Orders Undelivered -


  16. SQL with Pokemon: Damage Multipliers -


  17. Disemvowel Trolls -


  18. SQL: Disorder -


  19. SQL easy regex extraction -


  20. SQL with LOTR: Elven Wildcards -


  21. Extract Direct Subdirectories -


  22. Extract Direct Subdirectories -


  23. Extracting the Last Element from Concatenated Strings -


  24. Filtering Films by Special Features in PostgreSQL: Part 1 -


  25. Filtering Films by Special Features in PostgreSQL: Part 2 -


  26. Filtering Films by Special Features in PostgreSQL: Part 3 -


  27. Finding Products Matching All Selected Tags -


  28. First Normal Form -


  29. Hello SQL World! -


  30. GROCERY STORE: Inventory -


  31. Inventory Expansion Query -


  32. Leap Years -


  33. BASICS: Length based SELECT with LIKE -


  34. Loan Eligibility: part 1 -


  35. Making a changelog -


  36. SQL Basics: Maths with String Manipulations -


  37. Maximum Multiple -


  38. Easy SQL: Moving Values -


  39. Find Messages with Multiple Occurrences of a Word "Apple" 🍎 -


  40. Number of countries visited -


  41. Number of New Customers per Date -


  42. Order Ratio for Each Product -


  43. SQL: Padding Encryption -


  44. SQL Basics - Position -


  45. SQL Basics: Raise to the Power -


  46. SQL: Regex Replace -


  47. SQL: Regex String to Table -


  48. Refactoring SQL Queries: part 1 (removing UNION) -


  49. SQL Basics: Repeat and Reverse -


  50. SQL: Right and Left -


  51. SQL Basics: Simple GROUP BY -


  52. SQL Basics: Simple JOIN -


  53. SQL Basics: Simple JOIN with COUNT -


  54. SQL with Harry Potter: Sorting Hat Comparators -


  55. Splitting and Listing Unique Characters from a String Column -


  56. Sum of angles -


  57. Sum of Cubes -


  58. Sum of odd numbers -


  59. Sum of Triangular Numbers -


  60. GROCERY STORE: Support Local Products -


  61. SQL with Sailor Moon: Thinking about JOINs... -


  62. Third Oldest Backend Developer -


  63. SQL with Street Fighter: Total Wins -


  64. SQL Basics - Trimming the Field -


  65. SQL Basics: Truncating -


  66. Up and Down -


  67. Vowel Count -

6 kyu



  1. SQL Basics: Create a FUNCTION (DATES) -


  2. Even Fibonacci Sum -


  3. SQL Bug Fixing: Fix the JOIN -


  4. SQL Basics - Monsters using CASE -


  5. SELECT prime numbers -


  6. SQL Basics: Simple EXISTS -


  7. SQL Basics: Simple FULL TEXT SEARCH -


  8. SQL Basics: Simple HAVING -


  9. SQL Basics: Simple IN -


  10. SQL Basics: Simple JOIN and RANK -


  11. SQL Basics: Simple NULL handling -


  12. SQL Basics: Simple table totaling -


  13. SQL Basics: Simple UNION ALL -


  14. SQL Basics: Simple WITH -


  15. The Most Popular Product -


  16. Top 10 customers by total payments amount -


  17. SQL Bug Fixing: Fix the QUERY - Totaling -


  18. Youngest Team Members -

5 kyu



  1. Calculating Running Total -


  2. Relational division: Find all movies two actors cast in together -


  3. SQL Basics: Group By Day -


  4. SQL Statistics: MIN, MEDIAN, MAX -


  5. SQL Basics: Simple VIEW -

## Contribuciones :handshake:

Siéntete libre de revisar mis soluciones y hacer sugerencias para mejoras. También puedes enviar tus propias soluciones
a los ejercicios que aún no he completado.

## Contacto :mailbox:

Si tienes alguna pregunta o comentario sobre este repositorio, no dudes en contactarme a través de mi perfil de Github.
¡Gracias por tu interés!

## Licencia :page_facing_up:

Este repositorio utiliza la licencia MIT. Consulte el archivo [LICENSE](LICENSE) para obtener más información.