Querying the State Capital Database. Click on the Query tab. Use the Column drop-downs to select the column/field names in your query, whether to show.

Slides:



Advertisements
Similar presentations
How to Create a Local Collection
Advertisements

Databases Section 4: Select Queries Presented By: Lindani Ncube Based on Materials by: M Halse.
Indistar® Leadership Team Meetings. Where can we plan a meeting? Choose ‘Plan Your Meeting’ from the main menu screen Click on Meeting Agenda Setup.
 Microsoft Excel is an electronic spreadsheet.  As with a paper spreadsheet, you can use Excel to organize your data into rows and columns and to perform.
Reinstating a previously cancelled section. As can be noted the Motorcycle section (example) is no longer active, which can be verified by the absence.
August 2014 Liver quest User Demo: Liver Quality Enhancement Service Tool (QuEST)
How to Upload and Submit a Document to Your Tk20 Portfolio Use this when your instructor has asked you to put something in your Tk20 Portfolio (as opposed.
Basic Response Letter Last Updated Basic Response Letter The response redesign in SERFF 5.6 introduces the concept of inline schedule item.
Header and footer basics Add page numbers, date, and more Think of page formatting in a book. The book title is at the top of one page, the chapter title.
Creditor Names in BkAssist® Tutorial on entering and managing creditor names.
Page 1 of 21 This module will describe the procedure for a Metis Bid Request and how to upload the Metis supporting documentation. Welcome To the ETS –
Microsoft Office 2007 Access Integration Feature Sharing Data Among Applications.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Lab 7: Attribute SQL- Query the database
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
1 Student Registration Import Must be imported into PBA by 2/18.
End and Start of Year Administration Tasks. Account Administration Deleting Accounts Creating a Leavers Group Creating New Accounts: Creating accounts.
Concepts of Database Management Sixth Edition
Microsoft Access 2010 Chapter 7 Using SQL.
FLEET Single Entry Vehicle Logs. Click on Manage/View Equipment.
Copyright 2003 By NTREIS, Inc. Welcome to NTREIS Listings “ADD/EDIT” PowerPoint Presentation.
Using Microsoft Word’s Mail Merge Features Lunch and Learn: March 15, 2005.
MSDSonline HQ: Viewer Site Tour Main Menu Getting to your Company List Searching within your Company List How to View and Print an MSDS How to Print a.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
This DBA application features an advance 3 tab form with linked sub forms, multi- dependent dropdown lists along with dependent auto fill fields. It also.
Concepts of Database Management Seventh Edition
1 MySQL and phpMyAdmin. 2 Navigate to and log on (username: pmadmin)
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Mail merge I: Use mail merge for mass mailings Perform a complete mail merge Now you’ll walk through the process of performing a mail merge by using the.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Microsoft Access 2010 Building and Using Queries.
Advanced Word - Lesson 1: Sorting and Calculating.
Microsoft Access You will need a pen/pencil.. What is Microsoft Access? Access is a database management system.  Create a database, add/change delete.
Concepts of Database Management Seventh Edition
Lesson 1: Exploring Access Learning Objectives After studying this lesson, you will be able to: Start Access and identify elements of the application.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Support.ebsco.com Introduction to EBSCOhost Tutorial.
Copyright © 2007 Verizon Foundation. All Rights Reserved. This document may be reproduced and distributed solely for uses that are both (a) educational.
Performing Calculations—1 of 2 In addition to using queries to retrieve, update, sort, and filter data in a database, you can use a query to perform calculations.
Access Forms and Queries. Entering Data in Your Table  You can add data to your table in Datasheet view, by typing in the columns and rows.  This.
Concepts of Database Management Eighth Edition Chapter 3 The Relational Model 2: SQL.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
12 steps for Mail Merge Setup Mpact Magic. Step 1 Open Your MS Outlook program and put it an offline mode. Go to Main Menu >> File >> Work Offline.
) Main Menu: You can access all aspects of the database from this screen 2) Contacts: You can access the “contact database management” side of.
Concepts of Database Management Seventh Edition Chapter 3 The Relational Model 2: SQL.
Slide 1 of 35 Welcome to GSA’s Vendor and Customer Self Service (VCSS) course Section 3: Basic Navigation This presentation is compliant with section 508.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
Query Lab CSC 240 Blum1. Log on to PMA (PHPMyAdmin) and click on the Northwind database CSC 240 Blum2.
Merging Data into a Letter. Start with a letter that has places where you want to merge individual data ready to go.
Producing a Mail Merged Letter Step 1 Create an Access database for Names and Addresses you can use the ‘Customers’ template in Group Work. Enter the necessary.
INTRODUCTION TO DATABASES USING MICROSOFT ACCESS Basic Database Terms Create A Database Creating Table Fields Populating a Table Modifying Data Create.
Filters, Queries and Reports. Filters Limit the data, creating a dataset, or partial view of the whole database Single use – filters do not save with.
Notice a new tab has opened. You can go back and forth between the two.
FITS ENHANCEMENTS DECEMBER Fits Enhancements Enhancements have been made to FITS for primarily three reasons. –To enhance AOP/Best Guess reporting.
Access Query Design. IT Fundamentals2 Access Query Design The Query design screen provides a mechanism for selecting specific data from datafile(s) by:
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
How to apply your signature
FTS 2 Failure Tracking System 2 User‘s Guide Process Flow
FLEET Single Entry Vehicle Logs
Replacing Documents in ACRS
Mail Merge in Word 2016 © EIT, Author Gay Robertson, 2017.
Shelly Cashman: Microsoft Access 2016
Tutorial 10 Automating Tasks with Macros
Presentation transcript:

Querying the State Capital Database

Click on the Query tab. Use the Column drop-downs to select the column/field names in your query, whether to show them, how to sort them, etc. Click the Update Query button to see the SQL for your query.

Notice the tick mark ` in the SQL. It is important to distinguish it from the single quote

Then scroll down (if necessary) and click Submit Query to see the results.

Give the query a name and bookmark it

We can ask which states are the most populous cities in their states by setting the Criterion to =1 for the CapitalPopRank field

We can add a column using the Add/Delete Columns feature. We can use a filed (here for ordering) but not display it

Start with a query that shows state, capital, Munic. Population and Area

This can be turned into a Population density query by replacing the comma between Pop and Area with a division sign /

Results of Population Density query

Naming the derived field so you can sort on it

Result of sorting on Population Density

Rank the years by the number of states that were created that year SELECT count(`tbstatecapital`.`StateDate`) as stateCount, `tbstatecapital`.`StateDate` FROM `tbstatecapital` GROUP BY `tbstatecapital`.`StateDate` ORDER BY stateCount DESC

Queries for you to perform: submit a document with the SQL and a screen capture of the first few results 1.Display the State, capital, and year for that state sorted on the last field. 2.Display the State, capital, and year for that capital sorted on the last field. 3.Display all of the information for Florida. 4.Display all of the information for states starting with the letter A. (Use SQL’s LIKE) 5.Display states and capitals in which the capital date precedes the state date (it was the capital of the territory before the territory was a state).