Tuple expressions for sql lib