I'm stuck to answer these questions. Can anyone help me to answer these questions? Thanks
Write Select statements to organize data from different tables.
Sample Data
|
Clients |
|||||||
|
First |
Last |
Message Phone |
Home Phone |
Street* |
City* |
State* |
Zip* |
|
Terry |
Bradshaw |
3603333333 |
3603333333 |
303 4th |
Olympia |
WA |
98501 |
|
Sam |
Jones |
3605545555 |
1525 Pacific |
Olympia |
WA |
98501 |
|
|
Ginger |
Baker |
3608787878 |
3608787877 |
||||
|
Sarah |
Hughes |
3604443333 |
8702 54th |
Lacey |
WA |
||
|
Lovey |
Howell |
3607777777 |
3607777755 |
4226 X St. |
Tumwater |
WA |
98501 |
*residence address
|
Specialists |
||
|
First |
Last |
Title |
|
BB |
King |
Specialist II |
|
Ann |
Wilson |
Specialist I |
|
Assists |
|||||||
|
Client |
Open |
Close |
Specialist |
Type |
Referral |
Ref. Phone |
Confidential |
|
3 |
10/2/04 |
12/12/04 |
1 |
Counseling |
Dr. Jones |
Yes |
|
|
3 |
10/5/04 |
10/5/04 |
1 |
Referral |
Dr. Barnes |
No |
|
|
4 |
11/21/04 |
1/6/05 |
1 |
Forms assistance |
|||
|
4 |
11/10/04 |
12/7/04 |
1 |
Counseling |
|||
|
3 |
12/1/04 |
12/1/04 |
2 |
Referral |
|||
|
3 |
12/18/04 |
2 |
Dr. Eligibility |
||||
|
4 |
12/8/04 |
1/10/05 |
2 |
Forms Assistance |
Dr. Jason |
3605555555 |
|
|
3 |
12/15/04 |
12/18/04 |
2 |
Counseling |
|||
|
1 |
12/12/04 |
1 |
Referral |
DSHS |
No |
||
|
1 |
12/29/04 |
1/29/05 |
1 |
Advocacy |
|||
|
2 |
12/27/04 |
1/15/05 |
1 |
Dr. Eligibility |
|||
|
Tasks |
||||
|
Assist |
Date |
Followup |
Activity |
Status |
|
2 |
10/05/04 |
Phone call |
Complete |
|
|
3 |
12/15/04 |
Phone call |
Complete |
|
|
4 |
12/1/04 |
Yes |
Phone call |
|
|
6 |
12/1/04 |
Letter |
Complete |
|
|
6 |
12/6/04 |
Phone call |
Complete |
|
|
7 |
1/5/05 |
Yes |
Letter |
|
|
10 |
1/4/05 |
Yes |
Letter |
|
If you have any doubts,please give me comment...
-- 1
SELECT CONCAT(First,',', Last) AS ClientName, A.Open AS AssistDate, Type
FROM Client C, Assists A
WHERE C.ClientID = A.ClientID;
-- 2
SELECT A.*, CONCAT(First,',', Last) AS SpecialistName
FROM Assist A, Specialists S
WHERE A.SpecialistID = S.SpecialistID;
-- 3
SELECT CONCAT(First,',', Last) AS ClientName
FROM Assist A, Client C, Tasks T
WHERE A.ClientID = C.ClientID AND A.AssistID = T.AssistID AND Followup = 'Yes';
-- 4
SELECT CONCAT(C.First,',', C.Last) AS ClientName, CONCAT(S.First,',', S.Last) AS SpecialistName
FROM Clients C, Assists A, Specialists S
WHERE C.ClientID = A.ClientID AND A.SpecilistID = S.SpecialistID AND YEAR(A.Open) = 2003;
-- 5
SELECT CONCAT(C.First,',', C.Last) AS ClientName, A.Open AS AssistDate, A.Type AS Type, CONCAT(S.First,',', S.Last) AS SpecialistName
FROM Clients C, Assists A, Specialists S
WHERE C.ClientID = A.ClientID AND A.SpecilistID = S.SpecialistID AND A.Close IS NULL;
I'm stuck to answer these questions. Can anyone help me to answer these questions? Thanks Write...
Hi, I'm trying to do my
homework for my SQL Server class I keep getting stuck on the
questions 1-5 I found out like how the format need to be
I'm just stuck on implanting the code in.
Auntie B's Antic ERD CUSTOMER OWNER PEOPLE PeoplelD CustomerSince CHARITY Peopleld FirstName LastName Address City State Zip Phone CellPhone EMail PeopleType CharityID Name Address City State WORKERS PeoplelD HireDate TermDate SSN ip Phone ContactID ORDERS OrderlD OrderDate CustomerlD EmployeelD DONATION DonationID DonationDate...
It's due tonight. Thanks!
Part 1 refer to pages 370 and 371 answer to the following (10 pts) Outline (list)managed care requirements for patient referrals. Medicaid patients before the fifth of each month. This allows ample time for the beneficiary to receive the medical coupon. If the patient presents for an appointment without a medical coupon, and proof of eligibility cannot be determined elsewhere, it is common practice to have that patient reschedule the appointment. The exception is an emergency...
Please help me answer the following questions regarding data relationship tables. Employee ID First Name Last Name email Title Address Extension Department Department ID Hiring Date Department Phone # 0001 John Smith jsmith Accountant 1300 West st 5775 Accounting 2100 8/1998 407-366-5700 0002 Brian Miller badams Admin Assistant 1552 Palm dr 5367 Human resource 2300 4/1995 407-366-5300 0003 James Miller miller Inventory Manager 2713 Buck rd 5432 Production 2520 8/1998 407-366-5400 0004 John Jackson jackson_sam Sales Person 433 tree dr...
Hello, I'm having trouble with the trial balance. Can
someone please help me with it. I think something is wrong with the
adjusted trial balance.
khampton ACCOUNTING SERVICE INC Dear Newbie, Welcome to Hampton! My name is Julio Antoni, your supervisor. We believe the best way for you to get familiar with what you are going to be doing here is to throw you right in, so we are asking you to start working on the books for us right...
I need help with certain questions. Please.
18. 4 points
For each Rental, list the Rental ID,
Rental date, customer ID, customer first name, customer last name,
and count of disks rented; sort by Rental ID. Show the Rental date
formatted as ‘mm-dd-yyyy.’ Hint: use a GROUP BY clause.
19. 4 points
List the disk ID, title name, rating,
format description, and fee amount for all copies rented in Rental
3; sort by disk ID. Show the fee amount formatted...
I need help with this assignment in C++,
please!
*** The instructions and programming style details
are crucial for this assignment!
Goal: Your assignment is to write a C+ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I'O manipulators, and the string class. File format: Here is an example of a file...
Super stuck on a couple of questions on this scenario.
Advanced Scenario 7: Mark and Barbara Matthews Directions Using the tax software, complete the tax retum, including Form 1040 and all appropri- ate forms, schedules, or worksheets. Answer the questions following the scenario. Note: When entering Social Security numbers (SSNS) or Employer identification Numbers (EINS), replace the Xs as directed, or with any four digits of your choice. Interview Notes • Mark and Barbara are married and want to file...
Hi! Can you please help me answer required 1, 2A, and
2B. Thanks and have a wonderful day!
Paul Sabin organized Sabin Electronics 10 years ago to produce and sell several electronic devices on which he had secured patents. Although the company has been fairly profitable, it is now experiencing a severe cash shortage. For this reason, it is requesting a $690,000 long-term loan from Gulfport State Bank, $195,000 of which will be used to bolster the Cash account and...
ent groblems WING OBJECT ples to make the most of your la ey poop Hums pod effecti 16. Helps prepare patients for surgery and maintain the sterile Winthe surgical suite, making sure all members of the urgical tram follow stenile technique 17. Assists in helping patients compensate for loss of function TK. 2. Performs diagnostic testing on blood, body fluids, and other types of specimens to assist the provider in arriving of a diagnosis 19 Provides medical care to patients...