The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Last MyChenQL question for tonight
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
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|