-- This is included by gregslist.sql
SELECT "Create status" AS "COMMENT";
CREATE TABLE t_status
(
	id			INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
	status	VARCHAR(32)
) AS
	SELECT status FROM t_gregslist WHERE status IS NOT NULL
	GROUP BY status
	ORDER BY status;
SELECT * FROM t_status;
