79339150

Date: 2025-01-08 12:34:30
Score: 1
Natty:
Report link

Split trues/falses then get the id's which exist in both group.

SQL Server;

select distinct t1.ID from (select ID from thetable where VALUE='false' ) t1,
(select ID from thetable where VALUE='true') t2
where t1.ID=t2.ID
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: devmet34