AND PRE ASSESSMENT TEST 2026 COMPLETE ACTUAL
TEST QUESTIONS AND CORRECT DETAILED ANSWERS
(VERIFIED ANSWERS) NEWEST UPDATED VERSION
|GUARANTEED PASS A+ MYSQL -SQL Programing -
Intermediate Level
The Movie table has the following columns:
ID—integer, primary key, auto-
increment, Title—variable-length
string, Genre—variable-length
string, RatingCode—variable-
length string, Year—integer,
The following data needs to be added to the Movie
table: Title Genre RatingCode Year,
Pride and Prejudice Romance G 2005,
Write a SQL statement to insert the indicated data into the Movie table.
INSERT INTO Movie (Title, Genre, RatingCode,
Year) VALUES ('Pride and Prejudice', 'Romance',
'G', 2005);
,The Movie table has the following columns:
ID—integer, primary key,
Title—variable-length string,
Genre—variable-length string,
RatingCode—variable-length
string, Year—integer,
Write a SQL statement to delete the row with the ID value of 3 from
the Movie table.
DELETE FROM Movie
WHERE ID = 3;
,The Movie table has the following columns:
ID—integer, primary key,
Title—variable-length string,
Genre—variable-length string,
RatingCode—variable-length
string, Year—integer,
Write a SQL query to display all Title values in alphabetical order A-Z.
SELECT
Title FROM
Movie
ORDER BY Title ASC;
The Movie table has the following columns:
ID—integer, primary key,
Title—variable-length string,
Genre—variable-length string,
RatingCode—variable-length
string, Year—integer,
Write a SQL query to return how many movies have a Year value of
2019.
SELECT COUNT(*) AS
MovieCount FROM Movie
WHERE Year = 2019;
, The Movie table has the following columns:
ID - integer, primary key,
Title - variable-length
string,
Genre - variable-length string,
RatingCode - variable-length string,
Year - integer,
The YearStats table has the following columns:
Year - integer,
TotalGross - bigint unsigned,
Releases - integer,
Write a SQL query to display both the Title and the TotalGross (if
available) for all movies. Ensure your result set returns the
columns in the order indicated.
SELECT Movie.Title,
YearStats.TotalGross FROM Movie
LEFT JOIN YearStats ON Movie.Year = YearStats.Year;
San Francisco, CA 94110 USA ,
How many attributes are present in the address fragment?
4 Attributes