welcome to. queries do not change the data so play around. there must be a space between every item...

31
Welcome to Beginning Query Training

Upload: dillon-ogburn

Post on 01-Apr-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Welcome to

BeginningQuery Training

Page 2: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

• Queries do not change the data so play around.

• There must be a space between every item in a query.

• NEW resets the query window.• IF you think you did something that affected

data call us immediately.

Beginning Query Training

Page 3: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Today you will learn/review: LIST and Total commands Query Steps Sorting KEEP and SKIP commands Output

Beginning Query Training

Page 4: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Commands

• LIST – Produces a list of records.• TOTAL – Produces a count but no actual records.

• CHANGE -- DO NOT TOUCH!• Seriously… don’t touch the Change command!

Page 5: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

If you make a mistake…

• The clock is ticking…• The system is backed up hourly. • The longer the you wait the more data that

could be lost.• Sooooo….• Call Extension: 2218

Page 6: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Before we practice…

• To get records from here:• What did you need to know?• Which file cabinet drawer.

• In Aeries the records are kept in tables or Screens.• Each table has a 3 letter abbreviation.• STU = STUdent records• MST = MaSTer Schedule

Page 7: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Today you will learn/review:LIST and Total commands Query Steps Sorting KEEP and SKIP commands Output

Beginning Query Training

Page 8: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps - List

1. Log in2. Select QUERY

Page 9: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps - List

3. Select the LIST command.4. Select the table.5. Select the Fields.6. Select the field to sort BY (type BY in the

window).7. Select run.

Page 10: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Example:List all the students in the school with name, id

number, and grade by grade level.1. Click on LIST in the commands menu.2. Click on STU in the table menu.3. Click on NM, then ID, then GR in the fields menu.4. Type “BY GR” now the entire query should read:

LIST STU NM ID GR BY GR5. Click on RUN.6. Click NEW to clear out the query window and

start fresh.

Page 11: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps - LIST

Practice - List the following:• Students with name, id, sex, grade by sex.• Students with last name, state ID, and Race code by

race code.• Students with first name, last name, language fluency,

state ID, and birth date by last name.

Bonus: • Teachers with name, teacher number, ID number, and

room number by room number.

Page 12: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps - TOTAL

1. Log in2. Select QUERY

Page 13: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps - TOTAL

3. Select the TOTAL command.4. Select the table.5. Select the Fields and sort BY which field.6. Select RUN.

Page 14: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Example:Total all the students in the school by grade and sex.1. Click on TOTAL in the commands menu.2. Click on STU in the table menu.3. Click on GR and SX in the fields menu.4. Type BY GR SX.5. THE entire query should read

TOTAL STU GR SX BY GR SX6. Click on RUN.

7. Click NEW to clear out the query window and start fresh.

Page 15: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps - TOTAL

Practice – Get a total for the following:• Students by sex, grade and language fluency.• Students by language fluency and race code.• Students by birth date, then grade, then sex.• Students by grade, then birth date, then sex.• Students by sex, then birth date, then grade.

Page 16: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Today you will learn/review:LIST and Total commandsQuery Steps Sorting KEEP and SKIP commands Output

Beginning Query Training

Page 17: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Two Types of Sorting:

• Sorting the order of the output using the BY command.

• Sorting records by using the IF command.

Page 18: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Sorting using BY:

• What is the difference between these three queries? Enter them and see…

1. LIST STU LN FN ID GR SX BY LN2. LIST STU LN FN ID GR SX BY ID3. LIST STU LN FN ID GR SX BY GR 4. LIST STU LN FN ID GR SX BY SX GR LN

Page 19: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Sorting by using IF:List all the 1st grade students in the school with

name, id number, and sex.1. Click on LIST in the commands menu.2. Click on STU in the table menu.3. Click on NM, then ID, then SX and then GR in

the fields menu.4. Click on IF then GR from the fields list.5. CLICK “=“ then type 16. Click on RUN.

Page 20: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Sorting with IF

Practice - List the following:• Female students with name, id, sex, grade.• 3rd grade students with last name, state ID,

and Race code.• EL students with first name, last name,

language fluency, state ID, and birth date

Page 21: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Modify IF with AND / OR:List all the 3rd or 4th grade students in the school with

name, id number, and grade.1. Click on LIST in the commands menu.2. Click on STU in the table menu.3. Click on NM, then ID, then GR in the fields menu.4. Click on IF then GR from the fields list.5. CLICK “=“ then type 36. Click on OR7. Click on GR from the fields list.8. CLICK “=“ then type 49. Click on RUN.

Page 22: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Steps

List the following using comparisons that are not equal:

Students by ID, last name and grade who are EL and not Hispanic.

Students by ID last name and grade who entered school after September and are not EL.

Page 23: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Today you will learn/review:LIST and Total commandsQuery StepsSorting KEEP and SKIP commands Output

Beginning Query Training

Page 24: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Commands

• LIST – Produces a list of records.• TOTAL – Produces a count but no actual records.• SKIP – Used to ignore records.• KEEP – Used to look at only certain records.

• CHANGE -- DO NOT TOUCH!• Seriously… don’t touch the Change command.

Page 25: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

KEEP

• The KEEP command allows users to run all the built-in Aeries reports but limits the records to a certain group.

• The query steps are the same structure.1. KEEP2. TABLE3. FIELDS4. IF

Page 26: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

KEEP Practice:

• Print the “Class list by Teacher” report for only 2nd grade students.

Page 27: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

To remove KEEP and SKIP:• Return to the DASHBOARD screen and click

the reset button.

Page 28: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

SKIP

• The SKIP command allows users to run all the built-in Aeries reports but eliminates some records from the reports.

• The query step are the same structure.1. SKIP2. TABLE3. FIELDS4. IF

Page 29: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

SKIP Practice:

• Print the “Class list by Teacher” report for everyone but 2nd grade students.

Page 30: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Today you will learn/review:LIST and Total commandsQuery StepsSortingKEEP and SKIP commands Output

Beginning Query Training

Page 31: Welcome to. Queries do not change the data so play around. There must be a space between every item in a query. NEW resets the query window. IF you think

Query Output

The Main output formats are:• Report – Official Hard Copy.• Labels – Print results to the 5160.• Letter editor – Ignore.• Envelope – Ignore.• To File – Save data as a text file.

• Stacey Method – Copy and Paste