Fe Mysql 1 Fullstack Qs en
Fe Mysql 1 Fullstack Qs en
Fe Mysql 1 Fullstack Qs en
Code: Dev-MySQL 01
Total question: 30
Allowed time: 30’
A. TRUE
B. FALSE
A. WHERE clause
B. ORDER BY clause
C. JOIN clause
D. GROUP BY clause
3. With SQL, how can you insert a new record into the "Persons" table?
4. How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons
table?
A. One.
B. Two.
C. Three.
D. All of the mentioned options.
A. Primary key
B. Foreign key
C. Primary and foreign key
A. Object oriented
B. Hierarchical
C. Relational
D. Network
A. WHERE.
B. SORT
C. GROUP
D. GROUP BY
A. True
B. False
11. The AUTO_INCREMENT column attribute is best used with which type?
A. FLOAT
B. INT
C. CHARACTER
D. DOUBLE
12. There is a table including the data items shown below. Which of the following SQL
statements can insert a new row in the “student” table?
A. UNION
B. SELECT
C. GROUP
D. JOIN
15. How many rows are included in the table gained as as result of execution of the following
statement?
A. 2.
B. 3.
C. 4.
D. 5.
A. Stored functions
17. Which of these is defined to execute when the table is modified only?
A. Stored functions.
B. Stored procedures.
C. Triggers.
D. Events.
18. Which of the following SQL statements can extract employee name’s whose salary is
A. SELECT salary
FROM human_resourceSoftware Developer Entry Test Page 6 of 9
WHERE employee_name >=10000
GROUP BY salary
B. SELECT employee_name, COUNT(*)
FROM human_resource
WHERE salary>=10000
GROUP BY employee_name
C. SELECT employee_name, salary
FROM human_resource
GROUP BY salary
HAVING COUNT(*)>=10000.
D. SELECT employee_name
FROM human_resource
WHERE salary>=10000.
19. You have a table named Employees. You want to identify the supervisor to which
FROM Employees e
You need to ensure that the query returns a list of all employees and their respective
supervisor. Which join clause should you use to complete the query?
A. 0
B. 1
C. 2
D. 3
A. 0
B. 1
C. 2
D. 3
22. Which procedure parameter enables the caller to pass in a value and get back a value?
A. IN
B. OUT
C. IN OUT
D. GETINOUT
InternationalSalesOrders. Both tables contain more than 100 million rows. Each table
has a Primary Key column named SalesOrderId. The data in the two tables is distinct
from one another. Business users want a report that includes aggregate information
about the total number of global sales and total sales amounts. You need to ensure that
your query executes in the minimum possible time. Which query should you use?
A. delete
B. update
C. insert
D. views
A. REMOVE
B. DELETE
C. DROP
D. CLEAR
A. 16 bit
B. 32 bit
C. 48 bit
D. 8 bit
A. Mediumint
B. Smallint
C. Int
D. Tinyint
A. All
B. After Delete
C. Before Insert
D. Before Update
A. YYYY-MM-DD HH:MI:SS
B. MM-YYYY-DD HH:MI:SS
C. DD-YYYY-MM MI:HH:SS
D. None of the mentioned
A. Objects
B. Tables
C. Networks
D. File systems