Question: SQL Using the naming system in the image, Write a query to count the number of movies directed by people whose names contain the letter
SQL
Using the naming system in the image,
Write a query to count the number of movies directed by people whose names contain the letter a and the number of movies directed by people whose names do not contain an a
Hint: You can use GROUP BY to from the two groups, and you can use COUNT to count the number of movies in the two groups. Eg SELECT COUNT
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
