extension to SQL