The Arcive of vBulletin Modifications Site. |
|
#1
|
|||
|
|||
![]()
SELECT DISTINCT ensures that no two duplicate rows are returned. What would be the keyword for ensuring that no two values in one particular column are repeated across rows? For example:
[sql]SELECT threadid, forumid FROM thread[/sql] How can I ensure that no duplicate forumids are returned. |
#2
|
|||
|
|||
![]()
Try:
'SELECT threadid, forumid, FROM thread GROUP BY forumid;' ![]() |
#3
|
|||
|
|||
![]()
Great, thanks, that worked
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|