Answered step by step
Verified Expert Solution
Question
1 Approved Answer
There is a table CITY. CREATE TABLE CITY ( ID INTEGER NOT NULL, Name NVARCHAR2(50) NOT NULL , CountryCode CHAR(3) NOT NULL , District NVARCHAR2(50)
There is a table CITY.
CREATE TABLE CITY (
ID INTEGER NOT NULL,
Name NVARCHAR2(50) NOT NULL ,
CountryCode CHAR(3) NOT NULL ,
District NVARCHAR2(50) NOT NULL ,
Population INTEGER NOT NULL,
PRIMARY KEY (ID)
);
1-In your Oracle database, start a transaction to update the city table and set the population of all cities with the name San Jose to 10000.
Then Rollback the transaction.
Write the select statement to show the population of all cities with the name San Jose.
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