Skip to content
Snippets Groups Projects
Commit 58accf31 authored by npedot's avatar npedot
Browse files

fixes test for mapping AS

parent 457afb83
No related branches found
No related tags found
No related merge requests found
......@@ -229,11 +229,11 @@ ON course.id = student_course.course_id
// then
assertEquals("""
CREATE OR REPLACE VIEW public.poid_ssn AS
SELECT t1.ssn,t2.ssn
SELECT t1.ssn AS poids,t2.ssn AS ssn
FROM T AS t1
JOIN T AS t2
ON t1.ssn = t2.ssn2
LIMIT 10
""".trimIndent(), actualSQL)
""".trimIndent(), actualSQL)
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment