General Motors (GM) interview question

3 different questions, one was an SQL question