![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Guys, Could really do with you assistance here! I have table test test_id number(11) PK test_name varchar2(100) start_time date end_time date In essence I need remove the duplicate records from the table so that: 1|football|19/04/2009 17:15|19/04/2009 20:00 2|football|19/04/2009 17:15|19/04/2009 20:00 3|football|19/04/2009 17:15|19/04/2009 20:00 4|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 7|cricket|19/04/2009 13:15|19/04/2009 22:00 8|cricket|19/04/2009 13:15|19/04/2009 22:00 9|cricket|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 Your help would truly appreciated with this one! Thanks in advance, tb3101 |
#3
| |||
| |||
|
|
On 18 Apr, 14:01, trub3101 <trub3... (AT) sky (DOT) com> wrote: Hi Guys, Could really do with you assistance here! I have table test test_id number(11) PK test_name varchar2(100) start_time date end_time date In essence I need remove the duplicate records from the table so that: 1|football|19/04/2009 17:15|19/04/2009 20:00 2|football|19/04/2009 17:15|19/04/2009 20:00 3|football|19/04/2009 17:15|19/04/2009 20:00 4|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 7|cricket|19/04/2009 13:15|19/04/2009 22:00 8|cricket|19/04/2009 13:15|19/04/2009 22:00 9|cricket|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 Your help would truly appreciated with this one! Thanks in advance, tb3101 Hi all, Sorry, my bad! The schema is actually has two tables the other being: test2 test2_id number(10) pk name varchar2(100) 134|cricket 367|football 552|golf So 1|367|19/04/2009 17:15|19/04/2009 20:00 2|367|19/04/2009 17:15|19/04/2009 20:00 3|367|19/04/2009 17:15|19/04/2009 20:00 4|367|19/04/2009 17:15|19/04/2009 20:00 6|134|19/04/2009 13:15|19/04/2009 22:00 7|134|19/04/2009 13:15|19/04/2009 22:00 8|134|19/04/2009 13:15|19/04/2009 22:00 9|134|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|367|19/04/2009 17:15|19/04/2009 20:00 6|367|19/04/2009 13:15|19/04/2009 22:00- Hide quoted text - - Show quoted text - |
#4
| |||
| |||
|
|
On 18 Apr, 14:34, trub3101 <trub3... (AT) sky (DOT) com> wrote: On 18 Apr, 14:01, trub3101 <trub3... (AT) sky (DOT) com> wrote: Hi Guys, Could really do with you assistance here! I have table test test_id number(11) PK test_name varchar2(100) start_time date end_time date In essence I need remove the duplicate records from the table so that: 1|football|19/04/2009 17:15|19/04/2009 20:00 2|football|19/04/2009 17:15|19/04/2009 20:00 3|football|19/04/2009 17:15|19/04/2009 20:00 4|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 7|cricket|19/04/2009 13:15|19/04/2009 22:00 8|cricket|19/04/2009 13:15|19/04/2009 22:00 9|cricket|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 Your help would truly appreciated with this one! Thanks in advance, tb3101 Hi all, Sorry, my bad! The schema is actually has two tables the other being: test2 test2_id number(10) pk name varchar2(100) 134|cricket 367|football 552|golf So 1|367|19/04/2009 17:15|19/04/2009 20:00 2|367|19/04/2009 17:15|19/04/2009 20:00 3|367|19/04/2009 17:15|19/04/2009 20:00 4|367|19/04/2009 17:15|19/04/2009 20:00 6|134|19/04/2009 13:15|19/04/2009 22:00 7|134|19/04/2009 13:15|19/04/2009 22:00 8|134|19/04/2009 13:15|19/04/2009 22:00 9|134|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|367|19/04/2009 17:15|19/04/2009 20:00 6|367|19/04/2009 13:15|19/04/2009 22:00- Hide quoted text - - Show quoted text - My bad again! 1|367|19/04/2009 17:15|19/04/2009 20:00 6|367|19/04/2009 13:15|19/04/2009 22:00 should be: 1|367|19/04/2009 17:15|19/04/2009 20:00 6|134|19/04/2009 13:15|19/04/2009 22:00 Think that's it! Thanks in advance tb3101- Hide quoted text - - Show quoted text - |
#5
| |||
| |||
|
|
On 18 Apr, 14:40, trub3101 <trub3... (AT) sky (DOT) com> wrote: On 18 Apr, 14:34, trub3101 <trub3... (AT) sky (DOT) com> wrote: On 18 Apr, 14:01, trub3101 <trub3... (AT) sky (DOT) com> wrote: Hi Guys, Could really do with you assistance here! I have table test test_id number(11) PK test_name varchar2(100) start_time date end_time date In essence I need remove the duplicate records from the table so that: 1|football|19/04/2009 17:15|19/04/2009 20:00 2|football|19/04/2009 17:15|19/04/2009 20:00 3|football|19/04/2009 17:15|19/04/2009 20:00 4|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 7|cricket|19/04/2009 13:15|19/04/2009 22:00 8|cricket|19/04/2009 13:15|19/04/2009 22:00 9|cricket|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 Your help would truly appreciated with this one! Thanks in advance, tb3101 Hi all, Sorry, my bad! The schema is actually has two tables the other being: test2 test2_id number(10) pk name varchar2(100) 134|cricket 367|football 552|golf So 1|367|19/04/2009 17:15|19/04/2009 20:00 2|367|19/04/2009 17:15|19/04/2009 20:00 3|367|19/04/2009 17:15|19/04/2009 20:00 4|367|19/04/2009 17:15|19/04/2009 20:00 6|134|19/04/2009 13:15|19/04/2009 22:00 7|134|19/04/2009 13:15|19/04/2009 22:00 8|134|19/04/2009 13:15|19/04/2009 22:00 9|134|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|367|19/04/2009 17:15|19/04/2009 20:00 6|367|19/04/2009 13:15|19/04/2009 22:00- Hide quoted text - - Show quoted text - My bad again! 1|367|19/04/2009 17:15|19/04/2009 20:00 6|367|19/04/2009 13:15|19/04/2009 22:00 should be: 1|367|19/04/2009 17:15|19/04/2009 20:00 6|134|19/04/2009 13:15|19/04/2009 22:00 Think that's it! Thanks in advance tb3101- Hide quoted text - - Show quoted text - Okay everyone, I have decided to close this thread because the details I have submitted is not quite correct. I will re-submit when I have the full facts. Sorry about this but please do not bother to reply to this post!!! Thanks tb3101 |
#6
| |||
| |||
|
|
Hi Guys, Could really do with you assistance here! I have table test test_id number(11) PK test_name varchar2(100) start_time date end_time date In essence I need remove the duplicate records from the table so that: 1|football|19/04/2009 17:15|19/04/2009 20:00 2|football|19/04/2009 17:15|19/04/2009 20:00 3|football|19/04/2009 17:15|19/04/2009 20:00 4|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 7|cricket|19/04/2009 13:15|19/04/2009 22:00 8|cricket|19/04/2009 13:15|19/04/2009 22:00 9|cricket|19/04/2009 13:15|19/04/2009 22:00 becomes; 1|football|19/04/2009 17:15|19/04/2009 20:00 6|cricket|19/04/2009 13:15|19/04/2009 22:00 Your help would truly appreciated with this one! Thanks in advance, tb3101 |
![]() |
| Thread Tools | |
| Display Modes | |
| |