import sqlite3


def get_course_info(course_name):
    """
    Returns the course details using course_name
    """
    cursor = sqlite3.connect('./db.sqlite3').cursor()
    cursor.execute("SELECT * FROM course WHERE course_name = ?;", (course_name,))
    return cursor.fetchone()