Solved

SQL command in MS Access

Posted on 2012-04-05
2
325 Views
Last Modified: 2012-04-05
Attached is a sample database in Access but I need to do the following queries in SQL commands:
The queries are:      
1.    a query called DxAlphabetical whose results provide a listing of ICD9 codes and ICD9    descriptions arranged alphabetically by ICD9 description.
2.    a query called DX-G that shows all ICD9 codes and ICD9 descriptions where the description starts with the letter G.
3.    a query called DxDuplicate that shows all records in the Icd table where the Icd is duplicated (and display both the ICD9 code and ICD9 description for that code).
4.    a query called PatientDxResults that shows the first and last name of the patient as well as the IcdDescription for each disease the patient has.
5.    a query called DxCount that shows the records in the Icd table where the length of the IcdDescription is less than 13 characters
FallsDBDemo1.accdb
0
Comment
Question by:pacsmanks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 37814721
test this
FallsDBDemo1.accdb
0
 

Author Closing Comment

by:pacsmanks
ID: 37814765
Excellent
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question