question

Michael 4 avatar image
Michael 4 asked

What are the names of the consultants who got score of less than 90 in their evaluation

CONSULTANT

C_ID    C_LAST  C_FIRST C_MI    C_ADD   C_CITY  C_STATE C_ZIP   C_PHONE C_EMAIL
100 Myers   Mark    F   10 Sky Blvd.    Orlando FL  32825   4075551212  mm@xx.com
101 Hernandez   Sheila  R   33 Left Cr. Orlando FL  32811   4071115555  sh@yyx.com
102 ZHANG   Brian       89 SE Ave.  Tampa   FL  32822   3211515555  bz@mm.org
103 Carlson Sarah   J   22 NW Pl.   Orlando FL  32825   4075111111  sc@uu.gov
104 Courtland   Paul    R   91 Water St.    Orlando FL  32800   4075151155  pc@pp.net
105 Park    Janet   S   15 High Rd. Miami   FL  32816   9541115555  jp@hr.net

EVALUATION

E_ID    E_DATE  P_ID    EVALUATEE_ID    EVALUATOR_ID    SCORE   COMMENTS
100 01/07/2009  1   101 105 90   
101 01/07/2009  1   104 105 85   
102 01/08/2009  1   103 105 90   
103 12/20/2008  1   105 103 100  
104 12/29/2008  1   105 104 75   
105 01/15/2009  1   105 101 90  
queryhomework
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
DaniSQL avatar image
DaniSQL answered

Try Something like this:

Select C_Last, C_first from Consultant
Where consultant.C_id = Evaluation.EVALUATEE_ID
and Evaluation.Score < 90

Also please show some effort and you better check out this link it might get u upto speed www.w3schools.com

Good Luck!

BTW Please format your question.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Whitfield avatar image Matt Whitfield ♦♦ commented ·
@Dani - i removed the reformat of the question from here - hope you don't mind!
0 Likes 0 ·
DaniSQL avatar image DaniSQL commented ·
Not at all. I wasnt able to edit the question and I put it here hoping someone will copy and paste it to the original question.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.