Week 3. criteria must be true..

Slides:



Advertisements
Similar presentations
Technical BI Project Lifecycle
Advertisements

Some Introductory Programming 1. Structured Query Language - used for queries. - a standard database product. 2. Visual Basic for Applications - use of.
Should have seen something like this last week What does do? stands for table row and starts a new row in the table.
Concepts of Database Management Seventh Edition
Database Queries. Queries Queries are questions used to retrieve information from a database. Contain criteria to specify the records and fields to be.
Component 4/Unit 6c Topic III Structured Query Language Background information What can SQL do? How is SQL executed? SQL statement characteristics What.
SQL and Conditions Speaker notes will provide additional information!
Introduction to Access 2010 CIS120first.accdb is the database I am creating.
I want to do SQL, I start as if I am doing a regular query.
When I want to work with SQL, I start off as if I am doing a regular query.
A am going to create a table in design view. I am going to create a table in an Access database that contains information about the books that I have on.
Finish ing the logic flowc harts from week 3.. if invcd = “A” and (amtfst > 500 or amtsnd > 200) move “OKAY” to msg end if With the parenthesis, invcd.
Creating a database - I clicked on blank database and am saving it as books10.mdb. For more information see the practice example under week #1. I am going.
Create Views Using a Graphical Designer Database Administration Fundamentals LESSON 2.3b.
Computer Science Up Down Controls, Decisions and Random Numbers.
The data in the table.. Starting a query. Two criteria in an AND relationship.
DBMS and SQL.
Using MS Access for SQL CIS 523 Fall 2009 McCoey.
CHAPTER 7 DATABASE ACCESS THROUGH WEB
Microsoft Access 2013 Bobby Wan.
DATABASE CONCEPTS A database is a collection of logically related data designed to meet the information needs of one or more users Data bases are store-houses.
USER MANUAL Distributor Portal.
This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship.
EMR field in Portals Work History page
Types of data This presentation differentiates between ICT professional and end users.
On new..
Building and Using Queries
Access Database for CIS17
Please use speaker notes for additional information!
TRAINING OF FOCAL POINTS ON THE CountrySTAT/FENIX SYSTEM
Database Queries.
Access and Condition Statements
AD HOC Query (Report) Tool
Please use speaker notes for additional information!
follow this structure. Creating records following the structure of the table is populating the table.
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Using Access 2016 Since we are creating a new Access database, we need to select blank database.
Using SQL with Access I am adding queries to the stu table in SecondDB.accdb – a database that I created in class. SQL stands for structured query language.
Access
Miscrosoft Office..
I am opeing Access 2003 in the Microsoft Office.
You can read it better when I make the change.
Click ‘browse’ to search your device for
These are user interface queries
On new..
Access Database for CIT12
SQL .. An overview lecture3.
We are starting JavaScript. Here are a set of examples
Searching an Array or Table
Environment/Report Tutorial
Please use speaker notes for additional information!
Note the rights settings.
Done with SQL..
This is the example I want the class to put up to become comfortable with creating and populating a table in Access.
For this assignment, copy and past the XHTML to a notepad file with the .html extension. Then add the code I ask for to complete the problems.
Notes on SQL This slide show will introduce SQL using Access. It assumes only an introductory level of knowledge about Access.
Queries.
Introduction to Access 2010
Topic 12 Lesson 2 – Retrieving Data with Queries
Queries and SQL in Access
Objectives In this lesson, you will learn to:
Using SQL with Access I create a database named
I am now going to do queries in SQL
This is an introduction to JavaScript using the examples found at the CIS17 website. In previous examples I specified language = Javascript, instead of.
either of two other things (an OR relationship between them)
Did a few weeks ago. tag would work..
Template for the portfolio.
Access Click on file and then you want a new database.
Multiplication Facts 3 x Table.
Information system analysis and design
Presentation transcript:

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.