functions
functions
Question 2
Question 3
Question 4
Question 5
The NOW() function returns the current date and current time.
Question 6
Question 1
1. Aggregate
2. Single value
3. Single row
4. Summary
Question 2
1. TRIM()
2. TRUNCATE()
3. LEFT()
4. MID()
Question 3
1. MOD
2. SIGN
3. MID
4. POW
Question 4
1. Month
2. Year
3. NOW
4. POW
Question 5
Which of the following functions returns the substring from a given string ?
1. MID
2. INSTR
3. SUBSTR
4. CHAR
Question 6
1. MID
2. INSTR
3. SUBSTR
4. CHAR
Question 7
1. ROUND()
2. SUM()
3. COUNT()
4. AVG()
Question 8
Which of the following SQL functions does not belong to the Math functions
category ?
1. POWER()
2. ROUND()
3. LENGTH()
4. MOD()
Question 9
1. COUNT()
2. SUM()
3. MAX()
4. LEN()
Question 10
SELECT LENGTH("WINNER");
1. 7
2. 6
3. 8
4. 9
Question 11
1. 2
2. 3
3. -2
4. -3
Question 12
1. -1
2. 1
3. NULL
4. 0
Question 13
2. "It wasok"
3. "Itwasok"
4. "Itwas ok"
Question 14
SELECT LCASE(MONTHNAME('2023-03-05'));
1. May
2. March
3. may
4. march
Question 15
To remove the leading and trailing space from data values in a column of
MySQL Table, we use
1. Left()
2. Right()
3. Trim()
4. Ltrim()
Question 16
1. 153.6
2. 153.66
3. 153.67
4. 153.7
Question 17
SELECT Sign(26);
1. 1
2. -1
3. 0
4. none of these
Question 18
1. 15 15 15.7
2. 10 15.7 15.9
3. 10 15 15.7
4. 10 10 15.9