as/like

Sita is in the same class as Mary and Rose.
Sita is in the same class like Mary and Rose.
Are both sentences fine?
If anyone is wrong, please explain it with grammatical reasons.

Only the first sentence is correct.
‘same’ and ‘like’ should not be put together.

Sita is in the same class as Mary and Rose. (Mary, Rose and Sita are in the same class)
Sita is in this/that class, like Mary and Rose. (Sita is in this/that class. Mary and Rose are also in that class.)