1shared paths - multiline, reverse first 2:memory: #use in-memory database 3SELECT AsText(SharedPaths(GeomFromText('MULTILINESTRING((5 0, 5 5),(5 0, 15 0))'),GeomFromText('MULTILINESTRING((0 0, 4 0, 6 0, 10 0),(5 0, 11 0),(5 0, 5 5))'))) 41 # rows (not including the header row) 51 # columns 6AsText(SharedPaths(GeomFromText('MULTILINESTRING((5 0, 5 5),(5 0, 15 0))'),GeomFromText('MULTILINESTRING((0 0, 4 0, 6 0, 10 0),(5 0, 11 0),(5 0, 5 5))'))) 7MULTILINESTRING((11 0, 10 0, 6 0, 5 0, 5 5))