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.

ORDER BY Problem bei RIGHT JOIN

Empfohlene Antworten

Nabend,

habe ein Problem für die ich mit meinem jetzigen Wissen keine Lösung finden kann, auch das suchen und forschen bei google bringt irgendwie nix, also hoffe ich das mir jemand hier weiterhelfen kann...

Habe folgende SQL Abfrage bei MySQL:

SELECT links.*, IF(eintrag.wert = 1 , 1 , 0 ) AS ee FROM eintrag RIGHT JOIN links ON eintrag.uid = 1 AND eintrag.lid = links.lid LIMIT 0, 30
die tabelle eintrag sieht so aus:
uid  pid  lid  wert

alles sind int zahlen, der 'wert' nimmt die formen auf entweder ne 0 oder ne 1

die tabelle eintrag hat 45 Tausend Datensätze

nun zu mein problem:

die oben gezeigte abfrage funktioniert wunderbar, aber sobald ich da ORDER BY ee beifüge, läuft die Datenbankabfrage anscheinend eine endlosschleife, und ich muss diesen Prozess dann killen.

Hat jemand eine Idee woran das liegt und evtl. Lösungsvorschläge wie man das Problem nun lösen kann?

Gruß

aioon

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.