Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR)
TABLE: CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR, author_id VARCHAR)

### Question ###
Find the login name of the course author that teaches the course with name "advanced database".

### Accurate SQL ###

SELECT T1.login_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "advanced database"