Microsoft Access TutorialAbout Microsoft AccessCreate a Database Create a Table Adding Data Create a Form Modify a Form Create a Query Modify a Query Create a Macro Convert Access Database to Excel MS Access Versus SQL Server Summary |
Microsoft Access - Create a QueryA "query" refers to the action of instructing the database to return some (or all) of the data in your database. In other words, you are "querying" the database for some data that matches a given criteria. For example, you might like to see a list of all individuals whose first name is "Homer". Or you might like to see a list of all users who have registered with your database over a given time period. To do this, you need to do a query. Here's how to create a query in Microsoft Access:
The ResultYou should now see something like this:
At this stage, you may be thinking that there's not much difference between the results of our query and our table. We can still see all records from our table. The only difference is that we can only see 2 fields instead of all 4 fields. Well if that's what you're thinking, you'd be right! In our next lesson, we're going to modify our query so that we can only see some of the results. Enjoy this website?
Oh, and thank you for supporting Quackit! |
FREE Hosting!With every domain name you register with ZappyHost, you get FREE (ad supported) hosting.PLUS you get:
Featured Template:
(Build your websites in minutes!) Got a MySpace Page?Get "www.yourname.com" for your MySpace page. Learn how >>. |