title: SQL Query joining two tables
body: <p>I have 2 tables as below:</p>
  
  <p>1.Products</p>
  
  <pre><code>product_id, name
      1       Books A
      2       Books B
      3       Books C
      4       Books D
      5       Books E
  </code></pre>
  
  <p>2.liked_items</p>
  
  <pre><code>user_id, product_id
     1         4
     1         3
     1         1
  </code></pre>
  
  <p>I want to query (sql) to retrieve result as below.
  Can I do in same single query?</p>
  
  <pre><code>product_id,  user_id
  1              1
  2              0
  3              1
  4              1
  5              0
  </code></pre>
  
  <p>Hi, this first time i'm posting here. 
  Hope anyone can help me. Thank you</p>