Joy is spending your Saturday afternoon trying to get around the fact that wxGlade is so buggy it won't even import its own export files. :/
SELECT
members.*, devices.*, smtp.*
FROM
`members`, `devices`, `smtp`
WHERE
(members.devices = devices.id)
AND
(devices.service = smtp.id);
SELECT *, `Total` AS (`Training` + `Meeting` + `Detail` + `Crew` + `Additional`) FROM `Hours` ORDER BY `Total` DESC;
SELECT *, (lots of stuff) AS 'Total' FROM...
SELECT *, (`Training` + `Meeting` + `Detail` + `Crew` + `Additional`) AS `Total` FROM `Hours` ORDER BY `Total` DESC;