Solved

SQL command in MS Access

Posted on 2012-04-05
2
318 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
2 Comments
 
LVL 119

Accepted Solution

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

Author Closing Comment

by:pacsmanks
ID: 37814765
Excellent
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now