Added id field to SQL SELECT