
CREATE TABLE list (
	"LastName" TEXT, 
	"FirstName" TEXT, 
	"Grade" INTEGER, 
	"Classroom" INTEGER, 
	PRIMARY KEY ("LastName", "FirstName")
)


CREATE TABLE teachers (
	"LastName" TEXT, 
	"FirstName" TEXT, 
	"Classroom" INTEGER, 
	PRIMARY KEY ("LastName", "FirstName")
)

CREATE TABLE list (
	"LastName" TEXT, 
	"FirstName" TEXT, 
	"Grade" INTEGER, 
	"Classroom" INTEGER, 
	PRIMARY KEY ("LastName", "FirstName")
)

/*
2 rows from list table:
LastName	FirstName	Grade	Classroom
CAR	 MAUDE	2	101
KRISTENSEN	 STORMY	6	112
*/


CREATE TABLE teachers (
	"LastName" TEXT, 
	"FirstName" TEXT, 
	"Classroom" INTEGER, 
	PRIMARY KEY ("LastName", "FirstName")
)

/*
2 rows from teachers table:
LastName	FirstName	Classroom
MACROSTIE	 MIN	101
COVIN	 JEROME	102
*/
For each classroom report the grade that is taught in it. Report just the classroom number and the grade number.
SELECT DISTINCT classroom ,  grade FROM list
[{'Classroom': 101, 'Grade': 2}, {'Classroom': 112, 'Grade': 6}, {'Classroom': 107, 'Grade': 3}, {'Classroom': 105, 'Grade': 0}, {'Classroom': 111, 'Grade': 4}, {'Classroom': 102, 'Grade': 1}, {'Classroom': 104, 'Grade': 0}, {'Classroom': 109, 'Grade': 5}, {'Classroom': 110, 'Grade': 4}, {'Classroom': 103, 'Grade': 1}, {'Classroom': 106, 'Grade': 0}, {'Classroom': 108, 'Grade': 4}]