Software Development Exam  >  Software Development Tests  >  Test: SQL Functions - 2 - Software Development MCQ

Test: SQL Functions - 2 - Software Development MCQ


Test Description

15 Questions MCQ Test - Test: SQL Functions - 2

Test: SQL Functions - 2 for Software Development 2025 is part of Software Development preparation. The Test: SQL Functions - 2 questions and answers have been prepared according to the Software Development exam syllabus.The Test: SQL Functions - 2 MCQs are made for Software Development 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: SQL Functions - 2 below.
Solutions of Test: SQL Functions - 2 questions in English are available as part of our course for Software Development & Test: SQL Functions - 2 solutions in Hindi for Software Development course. Download more important topics, notes, lectures and mock test series for Software Development Exam by signing up for free. Attempt Test: SQL Functions - 2 | 15 questions in 30 minutes | Mock test for Software Development preparation | Free important questions MCQ to study for Software Development Exam | Download free PDF with solutions
Test: SQL Functions - 2 - Question 1

Which SQL function is used to find the absolute value of a number?

Detailed Solution for Test: SQL Functions - 2 - Question 1

The ABS() function is used to find the absolute value of a number.

Test: SQL Functions - 2 - Question 2

Which SQL function returns the remainder of a division?

Detailed Solution for Test: SQL Functions - 2 - Question 2

The MOD() function returns the remainder of a division.

Test: SQL Functions - 2 - Question 3

Which SQL function returns the largest value from the given list of arguments?

Detailed Solution for Test: SQL Functions - 2 - Question 3

The GREATEST() function returns the largest value from the given list of arguments.

Test: SQL Functions - 2 - Question 4

Which SQL function is used to remove the decimal places from a number?

Detailed Solution for Test: SQL Functions - 2 - Question 4

The TRUNCATE() function is used to remove the decimal places from a number.

Test: SQL Functions - 2 - Question 5

Which SQL function returns the square root of a number?

Detailed Solution for Test: SQL Functions - 2 - Question 5

The SQRT() function returns the square root of a number.

Test: SQL Functions - 2 - Question 6

What will be the output of the following SQL query?

SELECT ABS(-10) AS Result;

Detailed Solution for Test: SQL Functions - 2 - Question 6

The ABS(-10) returns the absolute value of -10, which is 10.

Test: SQL Functions - 2 - Question 7

What will be the output of the following SQL query?

SELECT MOD(27, 4) AS Result;

Detailed Solution for Test: SQL Functions - 2 - Question 7

The MOD(27, 4) returns the remainder of the division 27 / 4, which is 3.

Test: SQL Functions - 2 - Question 8

What will be the output of the following SQL query?

SELECT GREATEST(5, 10, 7, 3) AS Result;

Detailed Solution for Test: SQL Functions - 2 - Question 8

The GREATEST(5, 10, 7, 3) returns the largest value from the list, which is 10.

Test: SQL Functions - 2 - Question 9

What will be the output of the following SQL query?

SELECT LEAST(5, 10, 7, 3) AS Result;

Detailed Solution for Test: SQL Functions - 2 - Question 9

The LEAST(5, 10, 7, 3) returns the smallest value from the list, which is 3.

Test: SQL Functions - 2 - Question 10

What will be the output of the following SQL query?

SELECT TRUNCATE(10.567, 2) AS Result;

Detailed Solution for Test: SQL Functions - 2 - Question 10

The TRUNCATE(10.567, 2) removes the decimal places after 2 digits, resulting in 10.56.

Test: SQL Functions - 2 - Question 11

Which SQL function returns the current date and time?

Detailed Solution for Test: SQL Functions - 2 - Question 11

In SQL Server, GETDATE() returns the current date and time.

Test: SQL Functions - 2 - Question 12

Which SQL function can be used to calculate the average of a column?

Detailed Solution for Test: SQL Functions - 2 - Question 12

The AVG() function calculates the average of a column.

Test: SQL Functions - 2 - Question 13

Which SQL function returns the number of rows that match a specified condition?

Detailed Solution for Test: SQL Functions - 2 - Question 13

The COUNT() function returns the number of rows that match a specified condition.

Test: SQL Functions - 2 - Question 14

Which SQL function returns the length of a string?

Detailed Solution for Test: SQL Functions - 2 - Question 14

The LENGTH() function returns the length of a string.

Test: SQL Functions - 2 - Question 15

Which SQL function returns the first non-null expression in the list?

Detailed Solution for Test: SQL Functions - 2 - Question 15

The COALESCE() function returns the first non-null expression in the list.

Information about Test: SQL Functions - 2 Page
In this test you can find the Exam questions for Test: SQL Functions - 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: SQL Functions - 2, EduRev gives you an ample number of Online tests for practice
Download as PDF