hello,
I have a table that has two column that contain similar data, but I want to check the two column col1 and col2, if the number of data in col1 is equal to number of data col2, make a temp list of col1 data that has lesser number of data in col2.
my table is like this.
col1 || col2
0001 || 0001
0002 || 0001
0003 || 0002
0004 || 0002
0005 || 0003
0006 || 0004
0007 || 0005
so I want to check col1 against col2, any data in col2 that is less than 2 will be listed on a temp list, from the temp list I will like to select any number of row.
Please anyone with Idea on how I can solve this.
Thanks.