Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

103
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!