Create a Personal Information table with the following field's First name, Gender, Nationality, address and Contact number. a) Insert 5 records. b) Create query for the following: 1. Display all personal details whose Nationality is Saudi Arabia. 2. Display all record gender- female. 3. Add one column "last name" 4. Delete One Record Where first name" Asrar" 5. Drop one column which name Nationality

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter4: Constraints
Section: Chapter Questions
Problem 1HOA
icon
Related questions
icon
Concept explainers
Question

hi need to solve with details in Run SQL program, please

Create a Personal Information table with the following field's

First name, Gender, Nationality, address and Contact number.

a) Insert 5 records.

b) Create query for the following:

1. Display all personal details whose Nationality is Saudi Arabia.

2. Display all record gender- female.

3. Add one column "last name"

4. Delete One Record Where first name" Asrar"

5. Drop one column which name Nationality

6. Display all wages Haighr than "5000"

c) Write the structure of the table.

d) Draw the output for each command

Expert Solution
steps

Step by step

Solved in 7 steps with 9 images

Blurred answer
Knowledge Booster
Query Syntax
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
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
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