Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dbs1 Coder Working Space
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Bachmann
Dbs1 Coder Working Space
Commits
5ce9b6b9
Commit
5ce9b6b9
authored
1 year ago
by
Sabrina Mélanie Forster
Browse files
Options
Downloads
Patches
Plain Diff
queries_05
parent
2b5310fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Testat2/5_queries.sql
+33
-0
33 additions, 0 deletions
Testat2/5_queries.sql
with
33 additions
and
0 deletions
Testat2/5_queries.sql
0 → 100644
+
33
−
0
View file @
5ce9b6b9
-- AUFGBAE 1 QUERIES
-- 1.1 DISTINCT
SELECT
DISTINCT
ort
,
name
FROM
wettkampf
ORDER
BY
ort
ASC
;
-- 1.2 JOIN über mehrere Tabellen
SELECT
-- 1.3 Query mit unterabfrage inkl. Angabe ob diese korreliert ist oder unkorreliert
-- 1.4 Query mit ANY, IN, EXISTS oder ALL
-- AUFGABE 2 TABLE EXPRESSIONS
-- 2.1 WITH STATEMENT
-- 2.1.1 unkorrelierte Unterabfrage im From Teil
-- 2.1.2 äquivalente Query mit CTE anstatt subquery
-- 2.2. GROUP-BY Funktionen
-- 2.2.1 GROUP BY-Klausel
-- 2.2.2 Window-Funktion
-- AUFGABE 3 VIEWS
-- 3.1 Views
-- mit mind. 3 tabellen
-- normale query welche vorherige view verwendet
-- 3.2 updatable view
-- view schreiben
-- Änderung eines bestimmten Datensetzt über diese View schreiben mittels Update
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