SELECT T1.title ,  T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director  =  T2.director WHERE T1.title != T2.title ORDER BY T1.director ,  T1.title
For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title.
create table Movie(
	mID int primary key, 
	title text, 
	year int, 
	director text
);
create table Reviewer(
	rID int primary key, 
	name text);
create table Rating(
	rID int, 
	mID int, 
	stars int, 
	ratingDate date,
	FOREIGN KEY (mID) references Movie(mID),
	FOREIGN KEY (rID) references Reviewer(rID)
);
INSERT into Movie values(101, 'Gone with the Wind', 1939, 'Victor Fleming');
INSERT into Reviewer values(201, 'Sarah Martinez');
INSERT into Rating values(201, 101, 2, '2011-01-22');
INSERT INTO Movie VALUES [(101, 'Gone with the Wind', 1939, 'Victor Fleming'), (102, 'Star Wars', 1977, 'George Lucas')]
INSERT INTO Reviewer VALUES [(201, 'Sarah Martinez'), (202, 'Daniel Lewis')]
INSERT INTO Rating VALUES [(201, 101, 2, '2011-01-22'), (201, 101, 4, '2011-01-27')]