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.

PHPmyAdmin: Beziehungen erstellen??

Empfohlene Antworten

Hallo,

kenne mich mit PHPmyAdmin nicht besonders gut aus, daher habe ich folgende Frage:

Wie erstelle ich Beziehungen zwischen Tabellen (also 1:1, 1:n etc) in PHPmyAdmin?

In Access ist das ja einfach, aber in PHPmyAdmin finde ich dazu keine Option.

Würde mich freuen wenn ihr mir helft!

DANKE

Basti

Es gibt keine Beziehungen zwischen Tabellen, ausser in Access ;)

Die Beziehungen stellst du in deiner Abfrage her:

SELECT * FROM TABELLE1, TABELLE2 WHERE TABELLE1.NR = TABELLE2.KUNDENR

(1:n)

oder

SELECT * FROM TABELLE1 JOIN TABELLE2 ON TABELLE1.ARTIKELNR = TABELLE2.ARTIKELNR

(1:1)

usw.

sieh dir dazu mal SQL Dokumentationen an.

Edit:

Die verschiedenen Arten oben haben nichts mit der Art der Beziehung (1:1, 1:n) zu tun. Sind nur mal 2 Versionen als Beispiel...

Okay, okay, dann ist mir alles klar. Dachte auch schon fast dass es sowas in MySQL eher nicht gibt.

Danke für die schnelle Antwort, dann kanns ja losgehen...

Greetz,

basti

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.