Use the following table to find the OUTPUT of the following SQL queries: Table Name: Patients MEDICAL NO FIRST NAME SUR NAME GENDER PHONE FAX DOB 12-Jun-2001 1001 Said Alalawi 98877445 22114454 Male Male 1002 Othman Mualla 20-Apr-2000 1003 Sameera Bader 19-Oct-2005 Female . 25541122 1004 Fahad Alhinai 24-Feb-2004 Male 91122544 1005 Shamsa Alfahdi 15-Sep-2002 Female SELECT TO CHAR (DOB, 'DD/YY/MM') FROM patients WHERE Medical_no=1001; Answer: BLOOD TYPE A B O AB B WEIGHT 68 78 52 66 35 SMOKER NO YES NO YES NO PCR TEST Negative Positive Positive Negative Negative

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Don't copy from others
Use the following table to find the OUTPUT of the following SQL queries:
Table Name: Patients
MEDICAL NO
FIRST NAME
SUR NAME
GENDER
PHONE
DOB
12-Jun-2001
FAX
22114454
1001
Said
Alalawi
Male
98877445
1002
Othman
Mualla
20-Apr-2000 Male
1003
Sameera
Bader
19-Oct-2005 Female
25541122
1004
Fahad
Alhinai
24-Feb-2004
91122544
Male
Female
1005
Shamsa
Alfahdi
15-Sep-2002
SELECT TO CHAR (DOB, 'DD/YY/MM')
FROM patients
WHERE Medical_no=1001;
Answer:
BLOOD TYPE
A
B
O
AB
B
WEIGHT
68
78
52
66
35
SMOKER
NO
YES
NO
YES
NO
PCR_TEST
Negative
Positive
Positive
Negative
Negative
Transcribed Image Text:Use the following table to find the OUTPUT of the following SQL queries: Table Name: Patients MEDICAL NO FIRST NAME SUR NAME GENDER PHONE DOB 12-Jun-2001 FAX 22114454 1001 Said Alalawi Male 98877445 1002 Othman Mualla 20-Apr-2000 Male 1003 Sameera Bader 19-Oct-2005 Female 25541122 1004 Fahad Alhinai 24-Feb-2004 91122544 Male Female 1005 Shamsa Alfahdi 15-Sep-2002 SELECT TO CHAR (DOB, 'DD/YY/MM') FROM patients WHERE Medical_no=1001; Answer: BLOOD TYPE A B O AB B WEIGHT 68 78 52 66 35 SMOKER NO YES NO YES NO PCR_TEST Negative Positive Positive Negative Negative
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY