Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  column from another table

phpMyEdit General     column from another table
Odoslať novú tému   Odpovedať na tému    
 
ronbob     Založený: 30.07.2004   Príspevky: 2  
Príspevok Zaslal: 2004-07-30 00:57
Návrat hore  Odpovedať s citátom     

phpmyadmin is great although i'm still struggling with the relationshiop concept here of having two tables.

i have two tables and i need to have columns from table1 in table2. Its simple but i can do it even after reading the documentation.

table 1 patient
patnum (key)
First name
last name
table 2 treatment
lasnum (key)
patnum
operation 1
operation 2

in treatment i have an id (key) field for treatment and a field patnum which is the patient number (a key field in patient.

i simply want to have beside the patnum (id number) also the last name of the patient taken from a field om table 2 called patient. Can anyone help?
regards

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov