Are you looking for some SQL multiple-choice questions with answers to make your preparation level better for the upcoming exam? Try our quiz below and see if you know the basics of SQL programming language or not. SQL is the full form of the structured query language designed to work with databases. If you know the basics of SQL, this See morequiz will not be easy for you. You can test your SQL skills with us by taking the test. Go for it, then!
CREATE ?I student
CREATE DATABASE student
DATABASE /student
DATABASE student
Rate this question:
Where
Having
Group By
Order by
Rate this question:
IN
LIKE
BETWEEN
IS
Rate this question:
Alternate key
Foreign key
Primary key
Super Key
Rate this question:
All
Unique
Distinct
IN
Rate this question:
Group by clause
Having clause
Order by Clause
Where Clause
Rate this question:
INSERT ROW (1,‟ RAM SINGH‟) INTO STORE;
INSERT VALUES (1,‟ RAM SINGH‟) INTO STORE;
INSERT INTO (1,‟ RAM SINGH‟) STORE;
INSERT INTO STORE VALUES (1,‟ RAM SINGH‟);
Rate this question:
In
Like
Between
IS
Rate this question:
SELECT * FROM emp WHERE ename LIKE „e%‟ ORDER BY SAL ;
SELECT * FROM emp ORDER BY SAL DESCWHERE ename LIKE „%e%‟;
SELECT * FROM emp WHERE ename LIKE „%e%‟ ORDER BY DESCSAL;
SELECT * FROM emp WHERE ename LIKE „%e%‟ ORDER BY SAL DESC;
Rate this question:
Foreign key
Super Key
Primary Key
All of these
Rate this question:
Is used to load code from another file
Has been deprecated and should be avoided for security reasons
Is a pseudonym for the SELECT command
Should be used to choose the database you want to use once you've connected to MySQL
Rate this question:
ALTER TABLE EMPLOYEE MODIFY (last_name CHAR2(2000));
ALTER TABLE EMPLOYEE CHANGE (last_name CHAR2(2000));
ALTER TABLE EMPLOYEE CHANGE (last_name VARCHAR2 (2000));
ALTER TABLE EMPLOYEE MODIFY (last_name VARCHAR2 (2000));
Rate this question:
DROP
TRUNCATE
Alter
Delete
Rate this question:
IN
Like
Between
IS
Rate this question:
Create table emp add(id integer(3));
Create table emp (id integers(3));
Create table emp modified (id integer(3));
Create table emp (id integer(3));
Rate this question:
DDL
DML
TCL
(a) & (b) both
Rate this question:
Domain & Attribute
Attribute & Domain
Tuple & Attribute
Attribute & Tuple
Rate this question:
Degree 5, Cardinality 45
Degree 45, Cardinality 5
Degree 50, Cardinality 45
Degree 50, Cardinality 2250
Rate this question:
SELECT * FROM EMP WHERE EMPNO LIKE (1,2,3,4);
SELECT * FROM EMP WHERE SAL BETWEEN 3000 TO 15000;
SELECT * FROM EMP WHERE COMM IS NOT NULL;
All of the above
Rate this question:
Quiz Review Timeline (Updated): Jun 17, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.