Solved

SQL command in MS Access

Posted on 2012-04-05
2
324 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linked sql server tables - should I or shouldn't I and why 4 63
Menus 6 57
Multiple tables for a tabbed form 2 33
Error message for incorrect or missing hyperlink 3 27
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
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…

759 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