Skip to content

Commit

Permalink
SCRUM-4667 fix sql query ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpich committed Jan 23, 2025
1 parent fed7118 commit a6769dc
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,19 @@ from bulkscheduledload
where id in (SELECT id
FROM bulkload
WHERE backendbulkloadtype = 'AGM_AGM_ASSOCIATION');
delete
from bulkload
WHERE group_id in (select id from bulkloadgroup where name = 'Direct (LinkML) AGM AGM Association Loads');
delete
from bulkloadgroup
where name = 'Direct (LinkML) AGM AGM Association Loads';

delete
from bulkmanualload
where id in (SELECT id
FROM bulkload
WHERE backendbulkloadtype = 'AGM_AGM_ASSOCIATION');

SELECT id, 'ZFIN'
FROM bulkload
WHERE name = 'ZFIN AGM AGM Association Load';
delete
from bulkload
WHERE group_id in (select id from bulkloadgroup where name = 'Direct (LinkML) AGM AGM Association Loads');

delete
from bulkloadgroup
where name = 'Direct (LinkML) AGM AGM Association Loads';


select *
from bulkmanualload

0 comments on commit a6769dc

Please sign in to comment.