Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

104
Visualizações
Highlight Repeated Names

I have a webpage that shows a list of students being requested by teachers for tutoring. A student can only be listed requested once in reality but multiple teachers may accidentally request the same student unknowingly. Is there a way to highlight a student's name each time they are requested except for the first request? The highlighting will be used to signify to teachers that these requests are to be ignored. See attached picture for clarity.

[Screenshot of Webpage]

1

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Since you tagged with a database, this is a database answer. You can use a window function to count how many times before the student was present in the current data set. If that is > 1, then you have a dup. How to turn the dup column into highlighting is almost certainly not a database question.

select 
  "Student Name", 
  count(*) over (partition by "Student Name" order by "Request Date/Time") > 1 as dup,
  ...
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda