private void getDataFromSectionTable () {
        try {
            connection = DriverManager.getConnection(Utils.DB_URL);
            statement = connection.createStatement();
            resultSet = statement.executeQuery("select Word.[motherlang_word] as motherlangword, Word.[foreignlang_word] as foreignlangword, \n" +
                    "Section.[name] as section, Statistic.[correct] as correct, Statistic.[incorrect] as incorrect\n" +
                    "from Statistic\n" +
                    "left join Word on Word.[id] =Statistic.[word_id]\n" +
                    "left join Section on Section.[id]=Statistic.[section_id]\n" +
                    "where Statistic.[user_id]="+ user.getUser_id() +"");
            while (resultSet.next()) {
                motherLangWordList.add(resultSet.getString("motherlangword"));
                foreignLangWordList.add(resultSet.getString("foreignlangword"));
                sectionNameList.add(resultSet.getString("section"));
                correctWordsList.add(resultSet.getInt("correct"));
                incorrectWordsList.add(resultSet.getInt("incorrect"));
            }
        } catch (SQLException e) {
            e.printStackTrace();
        }
        finally {
            try {
                connection.close();
                statement.close();
            } catch (SQLException e) {
                e.printStackTrace();
            }
        }
    }