class JDBCBranchQueries extends JDBCQueriesHelper implements BranchQueries {

    @Override
    public String commitOrdinalQuery(int projectId, int branchId, Commit commit) {
        return "SELECT branch_commit.ordinal FROM branch_commit " +
                "LEFT JOIN commit_entry ON commit_entry.id = branch_commit.commit_id " +
                "WHERE branch_commit.branch_id = " + branchId + " " +
                "AND commit_entry.sha1 = '" + commit.sha + "'";
    }

    public  JDBCBranchQueries(CommitQueries commitQueries, SmellQueries smellQueries);

}