--:--









Quiz for Scalar Functions

Course: SQL | Subject: SQL | Topic: SQL Functions



Logo

Q1: What is true about scalar functions in SQL?

Logo

Q2: Which scalar function returns the length of a string in characters?

Logo

Q3: Which SQL scalar function is used to convert a string to uppercase?

Logo

Q4: Which function is used to return the current system date and time?

Logo

Q5: What does the ABS() function return?

Logo

Q6: Which function is used to extract a substring from a string in SQL?

Logo

Q7: Which function rounds a numeric value to the nearest integer?

Logo

Q8: Which scalar function removes leading and trailing spaces from a string?

Logo

Q9: What is the result of CEIL(5.2)?

Logo

Q10: What does the LOWER() function do?

Logo

Q11: Which scalar function returns the remainder of a division?

Logo

Q12: What is the result of FLOOR(7.9)?

Logo

Q13: Which function can be used to replace characters in a string?

Logo

Q14: What does INITCAP() function do?

Logo

Q15: Which scalar function returns a portion of a string starting from a position?

Logo

Q16: Which function would you use to concatenate two strings?

Logo

Q17: Which function pads a string with characters on the left?

Logo

Q18: Which function returns the ASCII value of the first character of a string?

Logo

Q19: Which function returns a character based on the ASCII code?

Logo

Q20: Which function returns the numeric value of pi in SQL?

Are you ready to start test? Set your time limit