Brug en venstre ydre sammenføjning:
SELECT b.id as id, g.date
FROM `biometrics` as b
LEFT OUTER JOIN `users goals` as g ON biometricid = b.id and userid = $user->id
Gode eksempler på forskellige jointyper kan findes her .
Brug en venstre ydre sammenføjning:
SELECT b.id as id, g.date
FROM `biometrics` as b
LEFT OUTER JOIN `users goals` as g ON biometricid = b.id and userid = $user->id
Gode eksempler på forskellige jointyper kan findes her .