{
"title": "ALL KEYS, also check that it flips to 1900",
"input": {
"WHERE": {
"OR": [
{
"AND": [
{
"GT": {
"sections_avg": 71
}
},
{
"IS": {
"sections_dept": "phil"
}
},
{
"IS": {
"sections_instructor": "**"
}
},
{
"IS": {
"sections_title": "*"
}
},
{
"IS": {
"sections_id": "150"
}
},
{
"EQ": {
"sections_year": 2015
}
},
{
"GT": {
"sections_pass": 20
}
},
{
"LT": {
"sections_fail": 10
}
}
]
},
{
"AND": [
{
"IS": {
"sections_instructor": "*jennifer*"
}
},
{
"GT": {
"sections_avg": 98
}
},
{
"NOT": {
"IS": {
"sections_instructor": "*burrows*"
}
}
}
]
},
{
"AND": [
{
"GT": {
"sections_avg": 99
}
},
{
"EQ": {
"sections_year": 1900
}
}
]
}
]
},
"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": false,
"orderExpected": true,
"orderBy": "sections_avg",
"expected": [
{
"sections_uuid": "70265",
"sections_id": "150",
"sections_title": "minds & machines",
"sections_instructor": "yui, kousaku",
"sections_dept": "phil",
"sections_year": 2015,
"sections_avg": 71.19,
"sections_pass": 35,
"sections_fail": 1,
"sections_audit": 0
},
{
"sections_uuid": "70266",
"sections_id": "150",
"sections_title": "minds & machines",
"sections_instructor": "leder, garson",
"sections_dept": "phil",
"sections_year": 2015,
"sections_avg": 78.09,
"sections_pass": 35,
"sections_fail": 0,
"sections_audit": 0
},
{
"sections_uuid": "73638",
"sections_id": "509",
"sections_title": "cl pro prim care",
"sections_instructor": "krist, jennifer",
"sections_dept": "nurs",
"sections_year": 2015,
"sections_avg": 98.21,
"sections_pass": 14,
"sections_fail": 0,
"sections_audit": 0
},
{
"sections_uuid": "5374",
"sections_id": "527",
"sections_title": "algb topology i",
"sections_instructor": "",
"sections_dept": "math",
"sections_year": 1900,
"sections_avg": 99.78,
"sections_pass": 9,
"sections_fail": 0,
"sections_audit": 0
}
]
}