CourseInsights / test / resources / queries / invalid / cannotTakeaExactlyFiveThousandsAndOne.json
cannotTakeaExactlyFiveThousandsAndOne.json
Raw
{
	"title": "Cannot Takea exactly five thousands and one",
	"input": {
		"WHERE": {
			"OR": [
				{
					"IS": {
						"sections_dept": "aanb"
					}
				},
				{
					"IS": {
						"sections_dept": "adhe"
					}
				},
				{
					"IS": {
						"sections_dept": "afst"
					}
				},
				{
					"IS": {
						"sections_dept": "anae"
					}
				},
				{
					"IS": {
						"sections_dept": "anat"
					}
				},
				{
					"IS": {
						"sections_dept": "ansc"
					}
				},
				{
					"IS": {
						"sections_dept": "anth"
					}
				},
				{
					"IS": {
						"sections_dept": "apbi"
					}
				},
				{
					"IS": {
						"sections_dept": "appp"
					}
				},
				{
					"IS": {
						"sections_dept": "apsc"
					}
				},
				{
					"IS": {
						"sections_dept": "arbc"
					}
				},
				{
					"IS": {
						"sections_dept": "arch"
					}
				},
				{
					"IS": {
						"sections_dept": "arcl"
					}
				},
				{
					"IS": {
						"sections_dept": "arst"
					}
				},
				{
					"IS": {
						"sections_dept": "arth"
					}
				},
				{
					"IS": {
						"sections_dept": "asia"
					}
				},
				{
					"IS": {
						"sections_dept": "astr"
					}
				},
				{
					"IS": {
						"sections_dept": "astu"
					}
				},
				{
					"IS": {
						"sections_dept": "atsc"
					}
				},
				{
					"IS": {
						"sections_dept": "audi"
					}
				},
				{
					"IS": {
						"sections_dept": "ba"
					}
				},
				{
					"IS": {
						"sections_dept": "baac"
					}
				},
				{
					"IS": {
						"sections_dept": "babs"
					}
				},
				{
					"OR": [
						{
							"AND": [
								{
									"IS": {
										"sections_dept": "phil"
									}
								},
								{
									"IS": {
										"sections_id": "150"
									}
								}
							]
						},
						{
							"AND": [
								{
									"IS": {
										"sections_dept": "phil"
									}
								},
								{
									"IS": {
										"sections_id": "364"
									}
								},
								{
									"GT": {
										"sections_avg": 80
									}
								}
							]
						}
					]
				}
			]
		},
		"OPTIONS": {
			"COLUMNS": [
				"sections_uuid",
				"sections_id",
				"sections_title",
				"sections_instructor",
				"sections_dept",
				"sections_year",
				"sections_avg",
				"sections_pass",
				"sections_fail",
				"sections_audit"
			],
			"ORDER": "sections_avg"
		}
	},
	"errorExpected": true,
	"orderExpected": true,
	"orderBy": "sections_avg",
	"expected": "ResultTooLargeError"
}