|
|||||||||||||||||
|
|
|
|||
SQL Queries | ||
---|---|---|
SELECT `config_name`, `config_value` FROM `roster_config` ORDER BY `id` ASC; SELECT * FROM `roster_guild` WHERE `guild_name` = 'Legion of Sun' AND `server` = 'Perenolde' SELECT DISTINCT quests.zone FROM `roster_quests` quests,`roster_members` members WHERE quests.member_id = members.member_id ORDER BY quests.zone ASC SELECT DISTINCT quests.quest_name FROM `roster_quests` quests,`roster_members` members WHERE quests.member_id = members.member_id ORDER BY quests.quest_name ASC SELECT `guild_id`, `guild_dateupdatedutc` FROM `roster_guild` WHERE `guild_name` = 'Legion of Sun' AND `server` ='Perenolde' SELECT IF(`note` LIKE '%alt%',1,0) AS 'isalt', FLOOR(`level`/10) AS levelgroup, COUNT(`level`) AS amount, SUM(`level`) AS sum FROM `roster_members` GROUP BY isalt, levelgroup ORDER BY isalt ASC, levelgroup DESC |
||