SELECT s, arr, a FROM arrays_test ARRAY JOIN arr AS a