CREATE TABLE reviewer (rid DECIMAL, name TEXT)
CREATE TABLE movie (mid DECIMAL, title TEXT, year DECIMAL, director TEXT)
CREATE TABLE rating (rid DECIMAL, mid DECIMAL, stars DECIMAL, ratingdate TIME)

What are the names of reviewers who had rated 3 star and 4 star?
SELECT T2.name FROM rating AS T1 JOIN reviewer AS T2 ON T1.rid = T2.rid WHERE T1.stars = 3 INTERSECT SELECT T2.name FROM rating AS T1 JOIN reviewer AS T2 ON T1.rid = T2.rid WHERE T1.stars = 4
SELECT "T2"."name" FROM "rating" AS "T1" JOIN "reviewer" AS "T2" ON "T1"."rid" = "T2"."rid" WHERE "T1"."stars" = 3 INTERSECT SELECT "T2"."name" FROM "rating" AS "T1" JOIN "reviewer" AS "T2" ON "T1"."rid" = "T2"."rid" WHERE "T1"."stars" = 4