Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Access] Abfrage zu bestimmung von Maximalwerten

Empfohlene Antworten

Veröffentlicht

Guten Morgen erst mal,

SQL hab ich das letzte mal vor 4 Jahren gemacht und fand Datenbanken nie so spitze ;D

Nun brauch ich aber für einen Kollegen eine Abfrage in so einer bösen Access-Datenbank.

Erst mal zur Grundsituation.

Sagen wir haben eine Tabelle die wie folgt ausschaut:


FileName    | Version

1337        |    1

1337        |    2

1337        |    3

1337        |    4

1337        |    5

1337        |    6

1337        |    7

1337        |    8

4227        |    1

4227        |    2

4227        |    3

4227        |    4

4227        |    5

Also pro Filename gibt es verschiedene Ausführungen. Ich will jetzt für jeden FileName einmal die maximale Versionsnummer... also hier sollte die Ausgabe so aussehen:

1337 | 8

4227 | 5

Vllt kann mir ja bitte jemand helfen, ich steh total auf dem Schlauch.

Danke schonmal.

mfG

Marco

Edit: Oi! Glatt im Titel verhauen. Ich hoffe ihr verzeihts mir :D

Bearbeitet von mharms

Erledigt

Ich halte es immer für etwas unhöflich eine Frage direkt mit einem "erledigt" zu beenden.

Es gibt in aller Regel noch andere die sich für die Lösung des Problems das man hat intressieren.

der vollständigkeit halber daher :

SELECT fileName,  Max(Version) [max_Version]

FROM Tabelle1

GROUP BY fileName

mfg

Sven

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.