Hi. I am an MA student of sociology. I want to learn Stata by myself but I could not find a suitable book that gives a chance to learn by practice. I know Kosuke Imao's Quantitative Social Sciences but it uses R. Is there any other source in the same format for Stata?
learning statistics with stata

Have you looked into "Applied Statistics Using Stata: A Guide for the Social Sciences"? Seems thorough to me.
For what it's worth, R has a harder learning curve but could potentially pay off big time in the long run if you're really motivated to put the extra work in.

Jeez, and then we wonder why studies don’t replicate and why people phack...
You learn statistics first, and then apply it in Stata (or SSPS, R, SAS, whatever). Otherwise, what you do is learn some commands and use them haphazardly until you get the results you want.

Statistics with Stata has a very applied focus.
Also, fyi, Stata's help manual has everything you need, but it's a friggin tome. The "help" command within Stata navigates said tome, opening up a description of any analysis Stata runs along with commands and examples.

Yeah, if you play around with it long enough (and with a deep enough understanding of statistics), you should be able to teach yourself to be competent in Stata using just the help command. There are probably plenty of online resources for the trickier database management things etc.
I just say this because I'm cheap as f**k and hate spending money lol