OA EXAM LATEST 2024 ACTUAL 150
QUESTIONS WITH DETAILED ANSWERS WITH
RATIONALES /ALREADY GRADED A+
Which line, when added to the end of the statement,
returns the total number of each kind of product by
product number? - Answer-GROUP BY PRODNUM;
Which data definition language statement affects
databases or objects in them? - Answer-ALTER
,What does the DELETE statement do? - Answer-It
removes rows from a table.
Which condition must be in effect to use the INSERT
INTO ... VALUES syntax for an INSERT statement? -
Answer-The VALUES list must contain a value for
each non-null valued column in the table.
Refer to the given SQL statement.
CREATE TABLE mytbl
(
f FLOAT(10,4),
,c CHAR(15) NOT NULL DEFAULT 'none',
i TINYINT UNSIGNED NULL
);
Which kind of data type is FLOAT in this statement?
- Answer-Decimal
Which two SQL data types can represent images or
sounds? - Answer-BINARY
TINYBLOB
Refer to the given SQL statement.
, CREATE TABLE CUSTOMER
(CustomerID INT NOT NULL AUTO_INCREMENT,
LastName VARCHAR(100) NOT NULL,
FirstName VARCHAR(100) NOT NULL,
PRIMARY KEY ( CustomerID ));
Which component of the command indicates the
table's name? - Answer-CUSTOMER
Which method creates an empty copy of a table and
then populates it from the original table? - Answer-