title: combining insert sql statment with select statement for more than 1 value
body: <p>I'm trying to combine an insert sql statement with a select statement, I successfully combined this statement: </p>
  
  <pre><code>insert into dbo.sessions (se_user) select user_id from dbo.users where username = 'bader'", badersql);
  </code></pre>
  
  <p>What I need now is to insert another value in the same sql statement, like this:</p>
  
  <pre><code>insert into dbo.sessions (se_user,*se_ip*) select user_id from dbo.users...
  </code></pre>
  
  <p>As you notice there is <code>se_ip</code> here in the second statement, the value will be from a text box, how can I combine it with my sql statement?</p>