How can I define a composite primary key consisting of two fields in SQL?

I want to make a table name voting with fields QuestionID, MemberID, and vote. And the Composite primary key consists of the fields QuestionID and MemberID.

How should I do this?

Edit
Report