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.

Empfohlene Antworten

Veröffentlicht

Ich verzweifel grade mal wieder an einer Abfrage, die doch eigentlich nicht so schwer sein dürfte, und wollte mal fragen, ob jemand eine Idee dafür hat:

Verwendetes DBMS: MySQL 5

Ich habe eine Tabelle mit 3 Spalten:

TimeStamp (Double), userId (int), actionId(int)

nun würde ich gern eine Abfrage erstellen, welche mir eine Tabelle ausgibt aus der hervorgeht welche Aktionen die User zuletzt ausgeführt haben.

Die Aktionen die der User sonst zu früheren Zeitpunkten ausgeführt hat interessieren mich nicht und dürfen auch gar nicht im Ergebnis sein.

Das erste was mir eingefallen ist (aber leider nicht funktioniert) war das irgendwie mit Distict zu machen...

Bearbeitet von speedi

  • Autor

DANKE!!!

Der Befehl macht genau das was ich gesucht hab. Hatte in letzter Zeit einfach alles abgefragt und mir dann das jeweils letzte selbst rausgesucht. Aber bei paar Millionen einträgen dauert das irgendwann doch dann mal etwas länger.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.