For below relational tables try to insert given data in PERSON table in given sequence, if you cannot insert data due to violation of a constraint (show 5 errors) just write “error” to the “operation status”

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

For below relational tables try to insert given data in PERSON table in given sequence, if you cannot insert data due to violation of a constraint (show 5 errors) just write “error” to the “operation status”

CITY
COUNTRY
Cityld
integer
Countryld
integer
Name
Name
varchar(10)
varchar(10)
not null
not null
1
Adana
Turkey
6
Ankara
2
Azerbeycan
Antalya
İstanbul
7
3
German
34
4
USA
PERSON
Cityld
integer
Citizenld
Birthdate
Countryld
integer
Name
Surname
Taxld
integer
varchar(10) varchar(10) date (dd.mm.yyyy)
integer
Operation
nullable
YEAR(Birthdate) > 1950
Null
not null
not null
not null
not null
status
Citizenld > 0
null
Elif
UYSAL
4
7
1
Sedat
YILMAZ
Null
1
1
3
1
Mehmet
ARSLAN
Null
1
-1
1
Mert
DOĞAN
Null
2
1
ÇATALTAŞ
МETIN
DOĞRAMACI
3
Mustafa
Null
9426521
7
1
4
Ömer
17.07.1954
5
null
2
Sevcan
Null
4
34
null
6.
Tuğba
KORKMAZ
22.06.1964
34
5
ÇELİK
DOĞAN
7
Süleyman
Null
-6
6.
1
8
Mustafa
18.12.1946
7
34
4
Elif
TEK
Null
34
1
Transcribed Image Text:CITY COUNTRY Cityld integer Countryld integer Name Name varchar(10) varchar(10) not null not null 1 Adana Turkey 6 Ankara 2 Azerbeycan Antalya İstanbul 7 3 German 34 4 USA PERSON Cityld integer Citizenld Birthdate Countryld integer Name Surname Taxld integer varchar(10) varchar(10) date (dd.mm.yyyy) integer Operation nullable YEAR(Birthdate) > 1950 Null not null not null not null not null status Citizenld > 0 null Elif UYSAL 4 7 1 Sedat YILMAZ Null 1 1 3 1 Mehmet ARSLAN Null 1 -1 1 Mert DOĞAN Null 2 1 ÇATALTAŞ МETIN DOĞRAMACI 3 Mustafa Null 9426521 7 1 4 Ömer 17.07.1954 5 null 2 Sevcan Null 4 34 null 6. Tuğba KORKMAZ 22.06.1964 34 5 ÇELİK DOĞAN 7 Süleyman Null -6 6. 1 8 Mustafa 18.12.1946 7 34 4 Elif TEK Null 34 1
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 11 images

Blurred answer
Knowledge Booster
Single Table
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education