Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question - I want data for City London, Moscow and customer name Julian Green From table given below. - By Sql Server Query? SELECT customer_id,

Question - I want data for City London, Moscow and customer name Julian Green From table given below. - By Sql Server Query?

SELECT customer_id, cust_name, city FROM customer WHERE city IN ('London','Moscow') and cust_name In ('Julian Green')

The question is that we want that all the data of the name of the city given and the name of the customer should be given to us. That is, the city which he has given is every row, and with cust_name name a row.

I want data for City London, Moscow and customer name Julian Green From table given below. - By Sql Server Query

ID Cust_name City
1 Kate London
2 JImmy Moscow
3 Julian New York

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

4-1. What is meant by the term you attitude? [LO-1]

Answered: 1 week ago