use db; -- all users, every signup ever select u.goo, lower(u.email) as email, u.name, u.id as userid, s.session as sessionid, s.certified_at, e.title, e.starttime, e.type, e.id as sesid, e.parent from conf_users u join conf_signups s on u.id = s.user join conf_sessions e on e.id = s.session order by lower(u.name), e.starttime; -- all comments on all sessions by all users ever select lower(u.email) as email, u.id, a.session, a.answer from conf_answers a join conf_users u on a.user=u.id where a.question=2 order by lower(u.name), a.session; -- sample INSERT INSERT INTO `conf_sessions` (`id`, `title`, `desc`, `type`, `length`, `starttime`, `track`, `location`, `location_irl`, `mode`, `gets_survey`, `is_flex_approved`, `category`, `category_b`, `author`, `is_custom`, `parent`, `recording`, `instructions`, `benefit`, `image_url`, `cal_uid`) VALUES (1386, 'Gav Connect Faculty Training', 'Gav Connect is a comprehensive online technology used to communicate with students about their academic progress and connect them with the campus support and guidance they need to succeed throughout their college journey. Come learn how you can use Gav Connect in your classroom to support student success with just a few clicks of a mouse!\r\n