Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

181
Vistas
searching for the winning id in bingo with SQL

I have created a bingo database (about 1000 id). User coupons are sent to the form on the website and they are sent to the database.

ID  
num1-1  num2-1  num3-1  num4-1  num5-1  num6-1  num7-1  num8-1  num9-1  
num1-2  num2-2  num3-2  num4-2  num5-2  num6-2  num7-2  num8-2  num9-2  
num1-3  num2-3  num3-3  num4-3  num5-3  num6-3  num7-3  num8-3  num9-3  

num"column"-"row"

the drawn numbers are transferred to a variable

How should I find that e.g. Id 261 has a match of 1 row or 2 rows or 3 rows (BINGO)

sample playing card

^sample playing card^

1
""  16  21  31  42  ""  60  ""  ""  
1   18  ""  33  ""  53  62  ""  ""  
2   ""  ""  38  ""  55  69  74  ""  

e.t.c ^in SQL^

and var draw = 2,5,8,...,3,38,...,55,69,...,74

and I want the message to be displayed, depending on the game mode, that id 1 has 1 row or 2 rows or 3 rows (BINGO)

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda