Write a query to display the record of the person living in Rawalpindi and Karachi? Write a query to display the record of the person whose first name is Ahmed but Last-name doesn’t have Mustafa? Write a query to display the records of last-name whose address contains the word “Gulberg"? customer_id first_name last_name address city state Mustafa 32 Gulshan Iqbal Road Punjab Rawalpindi Punjab Rawalpindi Punjab Islamabad Punjab 1 Ahmed Lahore 2 Karim Khan 4300 Bank Road 931 Gulburg Road |H.No.16, Street 1, H-8/3 Ibrahim 2050 Shahraey Faisal Ahmed Ali 4 Muhammad Hamza 5 Daud Karachi Sindh

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 14MC
icon
Related questions
Question
100%
Write a query to display the record of the person living in Rawalpindi and Karachi?
Write a query to display the record of the person whose first name is Ahmed but Last-name doesn't
have Mustafa?
Write a query to display the records of last-name whose address contains the word "Gulberg"?
customer_id first_name last_name
address
city
state
Mustafa 32 Gulshan Iqbal Road
Punjab
Rawalpindi Punjab
Rawalpindi Punjab
Punjab
1
Ahmed
Lahore
2
Karim
Khan
4300 Bank Road
Ali
931 Gulburg Road
H.No.16, Street 1, H-8/3
2050 Shahraey Faisal
Ahmed
4
Muhammad
Hamza
Islamabad
5
Daud
Ibrahim
Karachi
Sindh
Transcribed Image Text:Write a query to display the record of the person living in Rawalpindi and Karachi? Write a query to display the record of the person whose first name is Ahmed but Last-name doesn't have Mustafa? Write a query to display the records of last-name whose address contains the word "Gulberg"? customer_id first_name last_name address city state Mustafa 32 Gulshan Iqbal Road Punjab Rawalpindi Punjab Rawalpindi Punjab Punjab 1 Ahmed Lahore 2 Karim Khan 4300 Bank Road Ali 931 Gulburg Road H.No.16, Street 1, H-8/3 2050 Shahraey Faisal Ahmed 4 Muhammad Hamza Islamabad 5 Daud Ibrahim Karachi Sindh
Expert Solution
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning