week 3. criteria must be true.
This is because in logic ANDs are resolved before ORs meaning the things around the AND get grouped.
it drops to the second and tests to see if either of the other condtions are true.
questions.
question first.
separately.
This is the table I am going to use to introduce SQL (also called sequel).
Now I will go to view, click the arrow beneath and select the SQL view.
In SQL I wrote the code. SQL is the language behind the user interface In SQL I wrote the code. SQL is the language behind the user interface. It is what always gets executed. You can also write the SQL directly. I need a semi-colon at the end of the SQL. show better in class. Notepad is not involved in what I am doing in Access.
Shows the results.
Here I want to show only these fields Here I want to show only these fields. Note the field names must be names I defined when I created stu.
Shows the data that was retrieved and displayed.
Note that I am using the same type for comparison Note that I am using the same type for comparison. The field gpa was defined as numeric and I am comparing to the number 3.
Shows results but since I forgot to put major in the select I am not seeing it here.
I added numcr to the select so I will see it and I am now testing two conditions in an AND relationship.
Now I am testing two things in an OR relationship.
Now I want major CI and either of the other two.
Major and gpa will be asked as a group and numcr > 20 will stand alone.
I can simplify this a lot.
I started to simplify, but in fact I only want major = "CI" once.
gpa > 3.2
This is the simplified version.