Course Notes Week #7 Nov. 2nd-6th
Course Notes Week #7 Nov. 2nd-6th CSE 1111
Popular in Intro to Computer Problem Solving
verified elite notetaker
Popular in Computer Science and Engineering
verified elite notetaker
This 0 page Class Notes was uploaded by Megan Hageman on Thursday November 5, 2015. The Class Notes belongs to CSE 1111 at Ohio State University taught by Cindy Grimme in Summer 2015. Since its upload, it has received 27 views. For similar materials see Intro to Computer Problem Solving in Computer Science and Engineering at Ohio State University.
Reviews for Course Notes Week #7 Nov. 2nd-6th
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 11/05/15
CSE 1111 Course Notes Week 7 Oct 26th 30th Course Notes Chapter 22 Queries can be used to Filter data by selecting records according to criteria Sort records Group records together to perform calculations Sum Average Min etc Perform arithmetic and Boolean calculations Extract info from more than one table by joining related tables Query set of instructions the computer will follow to answer a question about the data in a database Dynaset results of a query Section divided into series of rows Field lists of all elds involved in the query Table for each eld the table it came from must be listed Total used in queries that require grouping of data Sort one or more elds can be organized in ascending or descending order Show specify whether or not the eld will be shown in the resulting dynaset Criteria speci es criteria that a eld must meet in order for a record to be included in the resulting dynaset Translating a question into the QBE grid 1 Plan the QBE grid 2 Add the table 3 Fill out the grid 4 Save and name the query Select Queries queries that select speci c records based on a set of criteria could be select criterion in a single eld multiple criteria in a single eld or multiple criteria in multiple elds Can use relational operators to specify criteria Can use boolean functions too Wildcards used to replace one or more characters Replaces a single character EX Like criteria is anything that starts with a J Aggregate Functions Sum Avg Count Min Max Stdev Var First Last speci ed on the TOTAL line of the QBE grid WHEN WRITING DATABASES NEVER REPEAT INFORMATION OR STORE INFORMATION THAT CAN BE EASILY GENERATED FROM EXISTING DATA Null Values blank elds in a record Lecture Notes Nov 3 Select Queries Querying process of asking the database for speci c information question about the data involves 0 choose required table 0 choose output elds 0 choose criteria Output of a query is a dynaset Can use relational operators in a query with text too lt G text beginning with AF Wildcards always use the word Like before replaces multiple characters replaces just one character Can also use Boolean operators criteria Or criteria criteria And criteria Not criteria Can also use between Criteria in multiple elds same line AND separate lines OR Access doesn t store dynaset but just stores the query instructions Lecture Notes Nov 5th Querying in Access Sorting Aggregating and Calculating Queries YesNo in Access is similar to TrueFalse Sorting Line AscendingDescending sort left to right Left Major sort Right Minor sort Group by Select groups to aggregate Pull down menu to choose a function max min avg etc Total Row options every row must be lled Group by Aggregate functions sum avg min etc Where speci c criteria for a eld can t show Expression Expression Builder calculations tablename eldname Null Value a eld with no data entered Nz changes null value to O
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'