12
You can use LIKE;
SELECT * FROM movies WHERE director LIKE '%' --all
SELECT * FROM movies WHERE director LIKE 'john landis' --exact
SELECT * FROM movies WHERE director LIKE 'steve%berg' --with wildcard
If you are looking for a director represented by * you would have to enclose it in between single quotes:
SELECT * FROM movies WHERE director='*'
If you're looking for any director just leave the where on out.
select * from movies where director like '%'
This will NOT return every row: rows where director is null will be omitted (at least with MSSQL).