can you translate SQL "SELECT * FROM SUBJECTS JOIN ON AUTHORS BY NAME" to Datalog?