# Question 1 #Using the World database, in the city table, insert a new city for the Tasmania district. The city name is ‘Devonport’,  #country code is ‘AUS’, district is ‘Tasmania’ and population is 25,387.  Remember, the ID is set to auto-increment  #and you will not assign a value.   You will insert 2 snips for this question: #a.  Insert a snip of the construct used. This MUST be a snip of the code used to insert this city into the city table. #b.  Run a query to display the entire new row of Devonport inserted in the City table. Insert your snip here:

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 69C: Update the DETAILRENTAL table to set the values in DETAIL_RETURNDATE to include a time component....
icon
Related questions
icon
Concept explainers
Question

# Question 1
#Using the World database, in the city table, insert a new city for the Tasmania district. The city name is ‘Devonport’, 
#country code is ‘AUS’, district is ‘Tasmania’ and population is 25,387.  Remember, the ID is set to auto-increment 
#and you will not assign a value.   You will insert 2 snips for this question:

#a.  Insert a snip of the construct used. This MUST be a snip of the code used to insert this city into the city table.

#b.  Run a query to display the entire new row of Devonport inserted in the City table. Insert your snip here:

World Table Relationships
country
Code CHAR(3)
Name CHAR(52)
city
countrylanguage
Continent ENUM(...)
ID INT
CountryCode CHAR(3) (FK)
Name CHAR(35)
Region CHAR(26)
Language CHAR(30)
SurfaceArea FLOAT(10,2)
CountryCode CHAR(3) (FK)
IsOfficial ENUM('T', 'F')
District CHAR(20)
IndepYear SMALLINT
Percentage FLOAT(4,1)
Population INT
Population INT
LifeExpectancy FLOAT(3,1)
GNP FLOAT(10,2)
GNPOID FLOAT(10,2)
LocalName CHAR(45)
GovernmentForm CHAR(45)
HeadOfState CHAR(60)
Capital INT
Code2 CHAR(2)
Transcribed Image Text:World Table Relationships country Code CHAR(3) Name CHAR(52) city countrylanguage Continent ENUM(...) ID INT CountryCode CHAR(3) (FK) Name CHAR(35) Region CHAR(26) Language CHAR(30) SurfaceArea FLOAT(10,2) CountryCode CHAR(3) (FK) IsOfficial ENUM('T', 'F') District CHAR(20) IndepYear SMALLINT Percentage FLOAT(4,1) Population INT Population INT LifeExpectancy FLOAT(3,1) GNP FLOAT(10,2) GNPOID FLOAT(10,2) LocalName CHAR(45) GovernmentForm CHAR(45) HeadOfState CHAR(60) Capital INT Code2 CHAR(2)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage