I want to get the users who confirm twice for the same document.
My table is like this:
emp_num -- serial -- doc_num
I want to get result like this:
344 -- 11 -- 3
344 -- 12 -- 3
344 -- 13 -- 3
756 -- 45 -- 16
756 -- 48 -- 16
and so on.
How can I do this?
My result :
344 -- 11 -- 3
344 -- 12 -- 3
344 -- 13 -- 3
756 -- 45 -- 16
756 -- 48 -- 16
333 -- 56 -- 77
564 -- 79 -- 87
564 -- 80 -- 87
i don’t want the emp_num = 333 included in the result because it’s a one record.
Stack over flow “works best” if an attempt is shown in the post. This shows effort, allows explanation of refinements/errors, and helps to clarify intent ..
In any case, this is likely close to what is desired: