Creating Questions-as-Tables using SQL