Write the SQL code for the following: List the city, last name, and balance of patients who
Question:
Write the SQL code for the following: List the city, last name, and balance of patients who live in Waterville and have a balance greater than $1,000.
a. SELECT City, LastName, Balance FROM Patient WHERE 'Waterville' AND >1000;
b. SELECT City, LastName, Balance WHERE City='Waterville' AND Balance>1000;
c. SELECT City, LastName, Balance FROM Patient WHERE City="Waterville" AND Balance>1000;
d. SELECT *
FROM Patient WHERE City='Waterville' AND Balance>1000;
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Concepts Of Database Management
ISBN: 9780357422083
10th Edition
Authors: Lisa Friedrichsen, Lisa Ruffolo, Ellen Monk, Joy L. Starks, Philip J. Pratt
Question Posted: