|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i want to
select * from users and username from register join on users.usertype=register.usertype plzzzz help i have made this but it doesnt work why??? i have made this but it doesnt work why??? i"SELECT users.userID,users.usertype,register.username FROM users,register where(users.usertype = register.usertype)" Last edited by ausgezeichnete : November 28th, 2007 at 02:58 PM. |
|
#2
|
|||
|
|||
|
How about
Code:
SELECT users.userID,users.usertype,register.username FROM users LEFT JOIN register on users.usertype=register.usertype Good luck! Matt |
|
#3
|
|||
|
|||
|
thnxxxx it worked
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Get data from 2 tables joined on usertype |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|