Postgresql – Using SQL query to find the ID of the question with the longest text
I typed the following SQL code in DB Fiddle using PostgreSQL v14 as the database engine to create the QUESTION relation. CREATE TABLE QUESTION ( ID TEXT PRIMARY KEY, SurveyScreenID TEXT, QuestionNumber INT, QuestionText TEXT ); INSERT INTO QUESTION (ID,…