S
snanuwa
Guest
Hi,
I have selected all the records from a table. “Select * from projects”;
I want to keep the 1st 60 records and delete the rest.
I always will want to delete records from the same row but the row can move up and down so I do not have a fixed reference point like a PK but it will always contain the same data in the first column I can reference.
Which is “Research”
Therefore, I need something that finds the first “Research” and delete all the records after it.
Any SQL statements will help me a lot!
Of if you need me to clarify more please ask
Any help, greatly Appreciated
Thanks
I have selected all the records from a table. “Select * from projects”;
I want to keep the 1st 60 records and delete the rest.
I always will want to delete records from the same row but the row can move up and down so I do not have a fixed reference point like a PK but it will always contain the same data in the first column I can reference.
Which is “Research”
Therefore, I need something that finds the first “Research” and delete all the records after it.
Any SQL statements will help me a lot!
Of if you need me to clarify more please ask
Any help, greatly Appreciated
Thanks