title: Raw SQL in Postgres with EntityFramework Core
body: <p>Say I have a customer table and would like to make a query with raw SQL. The below code does not work:</p>
  
  <pre><code>List&lt;Customer&gt; customers = _db.Customer.FromSql("SELECT * FROM Customer").ToList();
  </code></pre>
  
  <p>It fails with the error code</p>
  
  <blockquote>
    <p>'42P01: relation "customer" does not exist'</p>
  </blockquote>