Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started