Database error: relation does not exist
<p>I have a postgres database and a table named "state_master". I'm simply fetching the data from this table by the following code.</p>

<pre><code>import java.sql.*;

public class Test1 
{     

     public static void main(String... s1)
    {
        try{

                Class.forName("org.postgresql.Driver");
                Connection con = DriverManager.getConnection("jdbc:postgresql://localhost:5432:secc_db","postgres", password");
                Statement s = con.createStatement();
                ResultSet rs = s.executeQuery("Select * from state_master");


               }catch(SQLException e){  System.out.println(e);}

                catch(Exception i){System.out.println(i);}

        }
      }
</code></pre>

<p>All I get is an error: <code>relation state_master does not exist</code>. Please help me to sort out this problem.</p>
