Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rosettaExitStrategy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
rosettaExitStrategy
Commits
11d2b8b5
Commit
11d2b8b5
authored
1 year ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- inner ORDER BY is not needed and results in larger execution times
parent
5ae8ed09
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analysis/finde_lzaid_dubletten.sh
+0
-2
0 additions, 2 deletions
analysis/finde_lzaid_dubletten.sh
with
0 additions
and
2 deletions
analysis/finde_lzaid_dubletten.sh
+
0
−
2
View file @
11d2b8b5
...
...
@@ -8,11 +8,9 @@ SELECT ie_id,lza_id,version,dir_path FROM aip where lza_id in (
SELECT ie_id, lza_id, COUNT(*) as versionen
FROM aip
GROUP BY ie_id, lza_id
ORDER BY ie_id DESC
)
GROUP BY lza_id
HAVING anzahl_ie_pids > 1
ORDER BY anzahl_ie_pids DESC
)
) ORDER BY lza_id
SQL1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment