Write the SQL code for the following: Display the last name and street address of the customers
Question:
Write the SQL code for the following: Display the last name and street address of the customers who live on Negley.
a. SELECT LastName, StreetAddress FROM Addresses WHERE StreetAddress LIKE "*Negley*";
b. SELECT LastName, StreetAddress FROM Customers WHERE StreetAddress='Negley';
c. SELECT LastName, StreetAddress WHERE StreetAddress LIKE "*Negley*";
d. SELECT LastName, StreetAddress FROM Customers WHERE StreetAddress LIKE "*Negley*";
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: