250 likes | 348 Views
Graphical Interface for Queries. Farrokh Alemi, Ph.D. Narrated by Vikas Arya. Objectives. To develop queries and select subsets of data from a table Also see “Teaching yourself Visually Access 2003” pages 192 through 226. Standard Query Language.
E N D
Graphical Interface for Queries Farrokh Alemi, Ph.D. Narrated by Vikas Arya
Objectives • To develop queries and select subsets of data from a table • Also see “Teaching yourself Visually Access 2003” pages 192 through 226
Standard Query Language SELECT Claims.PatientID, Last(ICD9.ICDDescription) AS LastOfICDDescription FROM Claims INNER JOIN ICD9 ON Claims.DiagnosisCode = ICD9.ICD9Codes WHERE (((ICD9.ICDDescription) Like "*diabete*")) GROUP BY Claims.PatientID ORDER BY Claims.PatientID;
Several Queries A query can have as its input another query
Purpose of Select Query Show only rows that meet criteria
Other Types of Queries • Crosstab • Action queries
Purpose of Crosstab Query Organize summary data into tabular format
Graphical view of query makes it simple You can only learn using queries by doing many of them