--:--









Quiz for String Functions

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



Logo

Q1: Which function is used to concatenate strings in SQL?

Logo

Q2: What does the SQL function LENGTH() return?

Logo

Q3: Which function is used to combine two or more strings in SQL?

Logo

Q4: What is the output of LOWER('SQL')?

Logo

Q5: Which function is used to remove leading and trailing spaces?

Logo

Q6: What is the use of the UPPER() function?

Logo

Q7: What does the SUBSTRING() function do?

Logo

Q8: Which function replaces a portion of a string with another string?

Logo

Q9: Which SQL function returns the position of a substring within a string?

Logo

Q10: What is the output of REVERSE('SQL')?

Logo

Q11: What does the ASCII() function return?

Logo

Q12: Which function is used to pad a string to a specified length?

Logo

Q13: Which function capitalizes only the first letter of each word?

Logo

Q14: How many arguments does REPLACE() require?

Logo

Q15: What does CONCAT_WS() do?

Logo

Q16: Which function returns the number of bytes used by a string?

Logo

Q17: What is returned by LEFT('abcdef', 3)?

Logo

Q18: Which function extracts characters from the right of a string?

Logo

Q19: Which SQL function can be used to repeat a string multiple times?

Logo

Q20: What is the result of CHAR(65)?

Logo

Q21: Which SQL function returns the Unicode code point of a character?

Are you ready to start test? Set your time limit