Given a word (e.g., 'FABRICOFDATA'), write a SQL query to output each row of a right-angled triangle, where each row displays the first N characters of the word
Expected Output:
Try solving the question yourself! If you need help, click below to reveal the solution.