CourseInsights / test / resources / queries / invalid / nOTShouldOnlyHaveOneKeyHasZero.json
nOTShouldOnlyHaveOneKeyHasZero.json
Raw
{
	"title": "NOT should only have 1 key, has 0",
	"input": {
		"WHERE": {
			"OR": [
				{
					"NOT": {}
				},
				{
					"EQ": {
						"sections_avg": 95
					}
				}
			]
		},
		"OPTIONS": {
			"COLUMNS": [
				"sections_dept",
				"sections_id",
				"sections_avg"
			],
			"ORDER": "sections_avg"
		}
	},
	"errorExpected": true,
	"orderExpected": true,
	"orderBy": "sections_avg",
	"expected": "InsightError"
}