![]() |
query question
In the past I asked about how to get a list of members that have a certain item in their custom profile field.
I was given this code SELECT userid, field14 FROM userfield WHERE field13 = '1' It works great - it lists the user number and the info in the field.... My questions is this - what do I need to change so it list the user id AND the username with the userfield? |
Anyone?
|
Quote:
select u.userid, username, field14 from user u join userfield using (userid) where field13='1' [/sql] |
Works like a charm - Thanks a million!
|
All times are GMT. The time now is 05:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|