Check out example codes for "stored procedure sql get multiple variable selects". It will help you in understanding the concepts better.

Code Example 1

Declare @Phone nvarchar(30); 
Declare @Fax nvarchar(30); 

select @Phone = phone , @Fax = fax from customer where customerID = 1;

Learn ReactJs, React Native from akashmittal.com