Amazon interview question

Do you use SQL to query the DB yourself or do you work with data scientist?