Just an image I found on another website…
So if you right click “Users” table, you can then select “Script as SELECT”. You may then need to click Execute on the toolbar to run the query.