2002Connection refused
2002Connection refused
2002Connection refused
SELECT Name, Link, Button FROM Affiliates ORDER BY Position ASC;
C&C Guild | The Definitive Resource for Command & Conquer Modding

Items

Filter
2002Connection refused
SELECT ID, Type, Name FROM Categories  ORDER BY Type ASC, Name ASC;
2002Connection refused
SELECT ID, Name FROM Users WHERE ID IN (SELECT Author FROM Items) ORDER BY Level DESC, Name ASC;
    2002Connection refused
    SELECT ID, ShortName, Name FROM Games ORDER BY ID ASC;

Help

2002Connection refused
				SELECT
					Items.ID AS AID,
					Items.Type AS Type,
					Items.Author AS UID,
					Items.Title AS Title,
					Items.Summary AS Description,
					Users.Name AS Author,
					UNIX_TIMESTAMP(Items.Created) AS Created,
					UNIX_TIMESTAMP(Items.Updated) AS Updated,
					Items.Rating AS Rating,
					Items.Votes AS Votes,
					Items.Category AS CID,
					Categories.Name AS Category,
					Items.Level AS Level,
					GROUP_CONCAT(
						Games.ID ORDER BY Games.ID ASC SEPARATOR ';'
					) AS Games,
					GROUP_CONCAT(
						Games.Name ORDER BY Games.ID ASC SEPARATOR ';'
					) AS GameNames,
					COUNT(ItemGames.Game) AS GamesCount,
					Items.Trashed AS Trashed,
					Items.Visible AS Visible
				FROM
					Items LEFT JOIN ItemGames ON
					(ItemGames.Item = Items.ID)
					LEFT JOIN Games ON
					(ItemGames.Game = Games.ID)
					LEFT JOIN Categories ON
					(Items.Category = Categories.ID)
					LEFT JOIN Users ON
					(Users.ID = Items.Author)
				WHERE
				Items.Trashed = FALSE AND Items.Visible = TRUE
				
				GROUP BY
					AID, Type, UID, Title, Description, Author, Created, Updated, Rating, Votes, CID, Category, Level, Trashed, Visible
				 HAVING Items.ID IN (SELECT Item FROM ItemGames WHERE Game IN (2) ) 
				ORDER BY
					Trashed DESC, Visible ASC, Type ASC, Category ASC, Items.Created DESC, Items.Updated DESC

There are no items fulfilling the requirements.

Return to top