Chinastark/bird_dataset huggingface dataset:
Database: movie_3
Question: List down the film titles performed by Emily Dee.
SQL: SELECT film.title FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE actor.first_name = 'Emily' AND actor.last_name = 'Dee'
Database: movie_3
Note: "CHOCOLATE DUCK" is the title of film; full name refers to first_name, last_name;
Question: List down the actors' full names who performed in "CHOCOLATE DUCK" film.
SQL: SELECT actor.first_name, actor.last_name FROM film_actor INNER JOIN film ON film_actor.film_id = film.film_id INNER JOIN actor ON film_actor.actor_id = actor.actor_id WHERE film.title = 'CHOCOLATE DUCK'
Database: movie_3
Note: "Horror" is the name of category; PG-13 rated refers to rating = 'PG-13';
Question: How many films in the horror category were included in PG-13-rated?
SQL: SELECT count(film.film_id) FROM film INNER JOIN film_category ON film.film_id = film_category.film_id INNER JOIN category ON film_category.category_id = category.category_id WHERE category.name = 'Horror' AND film.rating = 'PG-13'
Database: movie_3
Note: films performed refers to film;
Question: Distinguish the films performed by Judy Dean according to category.
SQL: SELECT category.name FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id INNER JOIN film_category ON film_actor.film_id = film_category.film_id INNER JOIN category ON film_category.category_id = category.category_id WHERE actor.first_name = 'Judy' AND actor.last_name = 'Dean'
Database: movie_3
Note: "Documentary" is the name of category; film name refers to title;
Question: Write down any five film names under the documentary category.
SQL: SELECT film.title FROM film INNER JOIN film_category ON film.film_id = film_category.film_id INNER JOIN category ON film_category.category_id = category.category_id WHERE category.name = 'Documentary' LIMIT 5
Database: movie_3
Note: "UNTOUCHABLES SUNRISE" is the title of film; language refers to name; rental cost per day = Divide (rental_cost, rental_duration);
Question: Mention the language of Untouchables Sunrise film and calculate its rental cost per day.
SQL: SELECT LANGUAGE.name, film.replacement_cost / film.rental_duration AS cost FROM film INNER JOIN LANGUAGE ON film.language_id = LANGUAGE.language_id WHERE film.title = 'UNTOUCHABLES SUNRISE'
Database: movie_3
Note: rented on 24th May 2005 refers to rental_date = '2005-05-24%';
Question: List the films' titles which were rented on 24th May,2005.
SQL: SELECT film.title FROM film INNER JOIN inventory ON film.film_id = inventory.film_id INNER JOIN rental ON inventory.inventory_id = rental.inventory_id WHERE substr(rental.rental_date, 1, 10) = '2005-05-24'
Database: movie_3
Note: rented in July 2005 refers to year (rental_date) = 2005 and month (rental_date) = 7;
Question: List the films' titles which were rented by Brian Wyman in July, 2005.
SQL: SELECT film.title FROM customer INNER JOIN rental ON customer.customer_id = rental.customer_id INNER JOIN inventory ON rental.inventory_id = inventory.inventory_id INNER JOIN film ON inventory.film_id = film.film_id WHERE customer.first_name = 'BRIAN' AND customer.last_name = 'WYMAN' AND strftime('%Y', rental.rental_date) = '2005' AND strftime('%m',rental.rental_date) = '7'
Database: movie_3
Note: "STREETCAR INTENTIONS" is the title of film; actor's names refers to first_name, last_name;
Question: Write down the inventories' IDs and actors' names of "STREETCAR INTENTIONS".
SQL: SELECT inventory.inventory_id, actor.first_name, actor.last_name FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id INNER JOIN inventory ON film_actor.film_id = inventory.film_id WHERE film.title = 'STREETCAR INTENTIONS'
Database: movie_3
Note: category refers to name; rented in February 2006 refers to year(rental_date) = 2006 and month (rental_rate) = 2;
Question: Among the films rented by Natalie Meyer, describe the titles and categories of the films which were rented in February 2006.
SQL: SELECT film.title, category.name FROM film_category INNER JOIN category ON film_category.category_id = category.category_id INNER JOIN film ON film_category.film_id = film.film_id INNER JOIN inventory ON film.film_id = inventory.film_id INNER JOIN customer ON inventory.store_id = customer.store_id INNER JOIN rental ON inventory.inventory_id = rental.inventory_id WHERE customer.first_name = 'Natalie' AND customer.last_name = 'Meyer' AND strftime('%Y',film.rental_rate) = '2006' AND strftime('%m',film.rental_rate) = '2'
Database: movie_3
Note: 'Eleanor Hunt' is the full name of a customer; full name refers to first_name, last_name;
Question: How many rental IDs belong to Eleanor Hunt?
SQL: SELECT count(rental.rental_id) FROM rental INNER JOIN customer ON rental.customer_id = customer.customer_id WHERE customer.first_name = 'Eleanor' AND customer.last_name = 'Hunt'
Database: movie_3
Note: full name refers to first_name, last_name; 'DREAM PICKUP' is a title of film;
Question: Describe the full names and cities of the customers who rented "DREAM PICKUP".
SQL: SELECT customer.first_name, customer.last_name, city.city FROM film INNER JOIN inventory ON film.film_id = inventory.film_id INNER JOIN rental ON inventory.inventory_id = rental.inventory_id INNER JOIN customer ON rental.customer_id = customer.customer_id INNER JOIN address ON customer.address_id = address.address_id INNER JOIN city ON address.city_id = city.city_id WHERE film.title = 'DREAM PICKUP'
Database: movie_3
Note: 'India' is a country; calculation = DIVIDE(SUM(country = 'India'), COUNT(customer_id)) * 100;
Question: Calculate how many percent of customers were located in India.
SQL: SELECT cast(sum(iif(country.country = 'India', 1, 0)) AS REAL) * 100 / count(customer.customer_id) FROM country INNER JOIN city ON country.country_id = city.country_id INNER JOIN address ON city.city_id = address.city_id INNER JOIN customer ON address.address_id = customer.address_id
Database: movie_3
Note: 'Mary Keitel' AND 'Angela Witherspoon' are full name of actors; full name refers to Firstname, Lastname; calculation = DIVIDE(SUBTRACT(SUM('Mary Keitel'), SUM('Angela Witherspoon')), SUM('Angela Witherspoon')) * 100;
Question: How much percentage of the film did Mary Keitel perform more than Angela Witherspoon?
SQL: SELECT cast((sum(iif(actor.first_name = 'ANGELA' AND actor.last_name = 'WITHERSPOON', 1, 0)) - sum(iif(actor.first_name = 'MARY' AND actor.last_name = 'KEITEL', 1, 0))) AS REAL) * 100 / sum(iif(actor.first_name = 'MARY' AND actor.last_name = 'KEITEL', 1, 0)) FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id
Database: movie_3
Note: 'Lillie Kim' is the full name of a customer; full name refers to first_name, last_name;
Question: Provide the email, address, city, and country of the customer Lillie Kim.
SQL: SELECT customer.email, address.address, city.city, country.country FROM customer INNER JOIN address ON customer.address_id = address.address_id INNER JOIN city ON address.city_id = city.city_id INNER JOIN country ON city.country_id = country.country_id WHERE customer.first_name = 'Lillie' AND customer.last_name = 'Kim'
Database: movie_3
Note: full name refers to first_name, last_name; 'Mike Hillyer' is a full name of a staff;
Question: Provide any 5 customers' full names who have rented from Mike Hillyer.
SQL: SELECT customer.first_name, customer.last_name FROM staff INNER JOIN address ON staff.address_id = address.address_id INNER JOIN customer ON address.address_id = customer.address_id WHERE staff.first_name = 'Mike' AND staff.last_name = 'Hillyer' LIMIT 5
Database: movie_3
Note: 'Diane Collins' is a full name of a customer; full name refers to first_name, last_name;
Question: Calculate the total payment amount by Diane Collins.
SQL: SELECT sum(payment.amount) FROM customer INNER JOIN payment ON customer.customer_id = payment.customer_id WHERE customer.first_name = 'Diane' AND customer.last_name = 'Collins'
Database: movie_3
Note: full name refers to first_name, last_name; average payment refers to AVG(amount); payments were greater than 70% of the average refers to amount > (AVG(amount) MULTIPLY 0.7);
Question: Provide the full names and emails of customers whose payments were greater than 70% of the average.
SQL: SELECT DISTINCT customer.first_name, customer.last_name, customer.email FROM payment INNER JOIN customer ON payment.customer_id = customer.customer_id INNER JOIN address ON customer.address_id = address.address_id WHERE payment.amount > ( SELECT avg(amount) FROM payment ) * 0.7
Database: movie_3
Question: How many films have a rental rate of 0.99?
SQL: SELECT count(film_id) FROM film WHERE rental_rate = 0.99
Database: movie_3
Note: customer ID of 100 and below refers to customer_id < 100;
Question: Among the customers with customer ID of 100 and below, how many of them have Thomas as their last name?
SQL: SELECT count(customer_id) FROM customer WHERE last_name = 'Thomas' AND customer_id < 100
Database: movie_3
Question: List the actor's last name that starred the film with the description of "A Thoughtful Drama of a Composer And a Feminist who must Meet a Secret Agent in The Canadian Rockies".
SQL: SELECT actor.last_name FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE film.description = 'A Thoughtful Drama of a Composer And a Feminist who must Meet a Secret Agent in The Canadian Rockies'
Database: movie_3
Note: Liza Bergman' is a full name; full name refers to first_name, last_name; highest replacement cost refers to MAX(replacement_cost);
Question: Give the title of the film starred by Liza Bergman with the highest replacement cost.
SQL: SELECT film.title FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE actor.first_name = 'Liza' AND actor.last_name = 'Bergman' ORDER BY replacement_cost DESC LIMIT 1
Database: movie_3
Note: highest rental rate refers to MAX(rental_rate);
Question: Among films with store ID of 2, list the title of films with the highest rental rate.
SQL: SELECT film.title FROM film INNER JOIN inventory ON film.film_id = inventory.film_id WHERE inventory.store_id = 2 ORDER BY rental_rate DESC LIMIT 1
Database: movie_3
Note: Angelina Astaire' is a full name of an actor; full name refers to first_name, last_name;
Question: Among the films starred by Angelina Astaire, what is the title of the film with a replacement cost of 27.99?
SQL: SELECT film.title FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE actor.first_name = 'Angelina' AND actor.last_name = 'Astaire' AND film.replacement_cost = 27.99
Database: movie_3
Note: 'African Egg' is a title of a film;
Question: List the inventory ID of the film titled "African Egg".
SQL: SELECT inventory.inventory_id FROM film INNER JOIN inventory ON film.film_id = inventory.film_id WHERE film.title = 'African Egg'
Database: movie_3
Note: length duration of 113 minutes refers to length = 113; 'Kirk Jovovich' is a full name of an actor; full name refers to first_name, last_name;
Question: In films with a length duration of 113 minutes, how many of the films are starred by Kirk Jovovich?
SQL: SELECT count(actor.actor_id) FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE film.length = 113 AND actor.first_name = 'Kirk' AND actor.last_name = 'Jovovich'
Database: movie_3
Note: G rating refers to rating = 'G';
Question: In the film with an inventory ID between 20 to 60, how many of the films have a G rating?
SQL: SELECT count(film.film_id) FROM film INNER JOIN inventory ON film.film_id = inventory.film_id WHERE inventory.inventory_id BETWEEN 20 AND 60 AND film.rating = 'G'
Database: movie_3
Note: Bob Fawcett' is a full name of an actor; full name refers to first_name, last_name;
Question: Among films with a rental rate of 4.99, what is the total number of films starred by Bob Fawcett?
SQL: SELECT count(actor.actor_id) FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE film.rental_rate = 4.99 AND actor.first_name = 'Bob' AND actor.last_name = 'Fawcett'
Database: movie_3
Note: 'Russell Close' is a full name of an actor; full name refers to first_name, last_name; duration between 110 to 150 minutes refers to length BETWEEN 110 AND 150;
Question: What is the inventory ID of the films starred by Russell Close with a duration between 110 to 150 minutes?
SQL: SELECT inventory.inventory_id FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id INNER JOIN inventory ON film.film_id = inventory.film_id WHERE film.length BETWEEN 110 AND 150 AND actor.first_name = 'Russell' AND actor.last_name = 'Close'
Database: movie_3
Note: the longest duration refers to MAX(length);
Question: What is the store and inventory ID of the film with the longest duration?
SQL: SELECT inventory.store_id, inventory.inventory_id FROM film INNER JOIN inventory ON film.film_id = inventory.film_id ORDER BY film.length DESC LIMIT 1
Database: movie_3
Note: 'Elvis Marx' is a full name of a film; full name refers to first_name, last_name;
Question: List the titles of the films starred by Elvis Marx.
SQL: SELECT film.title FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE film.length BETWEEN 110 AND 150 AND actor.first_name = 'Russell' AND actor.last_name = 'Close'
Database: movie_3
Note: 'Lucille Dee' is a full name of an actor; full name refers to first_name, last_name;
Question: In films with rental rate of 4.99, list down the inventory ID of the films starred by Lucille Dee.
SQL: SELECT inventory.inventory_id FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id INNER JOIN inventory ON film.film_id = inventory.film_id WHERE actor.first_name = 'Lucille' AND actor.last_name = 'Dee' AND film.rental_rate = 4.99
Database: movie_3
Note: average rental rate of all listed films refers to AVG(rental_rate); rental rate greater than the 60% of average rental rate refers to rental_rate > (AVG(rental_rate)) MULTIPLY 0.6;
Question: List the store ID of the films with a rental rate greater than the 60% of average rental rate of all listed films.
SQL: SELECT inventory.store_id FROM film INNER JOIN inventory ON film.film_id = inventory.film_id WHERE film.rental_rate > ( SELECT avg(film.rental_rate) * 0.6 FROM film )
Database: movie_3
Note: 'Nick Wahlberg' is a full name of an actor; full name refers to first_name, last_name; G rating refers to rating = 'G'; calculation = DIVIDE(SUM(rating = 'G'), SUM(rating)) * 100;
Question: Among the films starred by Nick Wahlberg, what is the percentage of the films with G rating?
SQL: SELECT cast(sum(iif(film.rating = 'G', 1, 0)) AS REAL) / count(film.film_id) FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film ON film_actor.film_id = film.film_id WHERE actor.first_name = 'Elvis' AND actor.last_name = 'Marx'
Database: movie_3
Note: 'Texas' is a district;
Question: List the address in Texas in the ascending order of city id.
SQL: SELECT address FROM address WHERE district = 'Texas' AND city_id = ( SELECT min(city_id) FROM address WHERE district = 'Texas' )
Database: movie_3
Note: full name refers to first_name, last_name; record created in 2006 refers to create_date = 2006; inactive customers refers to active = 0;
Question: Find the full name and email address of inactive customers whose record was created in 2006.
SQL: SELECT first_name, last_name, email FROM customer WHERE strftime('%Y',create_date) = '2006' AND active = 0
Database: movie_3
Note: PG-13 is a rating; calculation = DIVIDE(SUM(rating = PG-13), SUM(rating)) * 100;
Question: What percentage of the movies are PG-13?
SQL: SELECT cast(sum(iif(rating = 'PG-13', 1, 0)) AS REAL) * 100 / count(film_id) FROM film
Database: movie_3
Note: movies with the most price per day refers to MAX(rental_rate);
Question: Please list the top ten movies with the most price per day in descending order of price per day.
SQL: SELECT title FROM film ORDER BY rental_rate / rental_duration DESC LIMIT 10
Database: movie_3
Note: average rent amount refers to AVG(amount);
Question: Calculate the average rent amount paid by the customer with customer id 15.
SQL: SELECT avg(amount) FROM payment WHERE customer_id = 15
Database: movie_3
Note: rented period refers to SUBTRACT(return_date, rental_date); calculation = rented period > (AVG(rented period));
Question: How many customers rented for an above-average period?
SQL: SELECT count(customer_id) FROM rental WHERE return_date - rental_date > ( SELECT avg(return_date - rental_date) FROM rental )
Database: movie_3
Note: horror is a name of film category; calculation = DIVIDE(COUNT('horror'), COUNT(category_id)) * 100;
Question: Among the movies, what percentage are horror?
SQL: SELECT cast(sum(iif(category.name = 'horror', 1, 0)) AS REAL) * 100 / count(category.category_id) FROM film_category INNER JOIN category ON film_category.category_id = category.category_id
Database: movie_3
Note: full name refers to first_name, last_name; acted in the most number of movies refers to MAX(COUNT(film_id));
Question: Give the full name of the actor who acted in the most number of movies?
SQL: SELECT t.first_name, t.last_name FROM ( SELECT actor.first_name, actor.last_name, count(film_actor.film_id) AS num FROM film_actor INNER JOIN actor ON film_actor.actor_id = actor.actor_id GROUP BY actor.first_name, actor.last_name ) AS t ORDER BY t.num DESC LIMIT 1
Database: movie_3
Note: full name refers to first_name, last_name; drama is a category of a film; acted the most in a movies refers to MAX(COUNT(film_id));
Question: Give the full name of the actor who acted the most in drama movies?
SQL: SELECT t.first_name, t.last_name FROM ( SELECT actor.first_name, actor.last_name, count(film_actor.film_id) AS num FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film_category ON film_actor.film_id = film_category.film_id WHERE film_category.category_id = 7 GROUP BY actor.first_name, actor.last_name ) AS t ORDER BY t.num DESC LIMIT 1
Database: movie_3
Note: 'Australia' AND 'Canada' are country; average number of films refers to AVG('Australia') AND AVG('Canada'); calculation = SUBTRACT(AVG('Australia'), AVG('Canada'));
Question: What is the difference in the average number of films rented each day in Australia and Canada?
SQL: SELECT avg(iif(country.country = 'Australia', 1, 0)) - avg(iif(country.country = 'Canada', 1, 0)) AS diff FROM customer INNER JOIN address ON customer.address_id = address.address_id INNER JOIN city ON address.city_id = city.city_id INNER JOIN country ON city.country_id = country.country_id
Database: movie_3
Note: 'Reese Kilmer' is a full name of an actor; 'action' is the name of the category; calculation = DIVIDE(COUNT('action'), COUNT(category_id)) * 100;
Question: Of the movies in which Reese Kilmer acted, what percentage are action movies?
SQL: SELECT cast(sum(iif(category.name = 'Action', 1, 0)) AS REAL) * 100 / count(actor.actor_id) FROM actor INNER JOIN film_actor ON actor.actor_id = film_actor.actor_id INNER JOIN film_category ON film_actor.film_id = film_category.film_id INNER JOIN category ON film_category.category_id = category.category_id WHERE actor.first_name = 'Reese' AND actor.last_name = 'Kilmer'
Database: movie_3
Note: 'Clockwork Paradice' is a title of a film;
Question: Give the total amount of rent for the movie Clockwork Paradice.
SQL: SELECT sum(payment.amount) FROM payment INNER JOIN rental ON payment.rental_id = rental.rental_id INNER JOIN inventory ON rental.inventory_id = inventory.inventory_id INNER JOIN film ON inventory.film_id = film.film_id WHERE film.title = 'CLOCKWORK PARADICE'
Database: movie_3
Note: full name refers to first_name, last_name; types of movies means category of movies;  rented more than five types of movies refers to COUNT(film_category) > 5;
Question: Find and list the full name of customers who rented more than five types of movies.
SQL: SELECT t.first_name, t.last_name FROM ( SELECT customer.first_name, customer.last_name, count(customer.customer_id) AS num FROM customer INNER JOIN rental ON customer.customer_id = rental.customer_id INNER JOIN inventory ON rental.inventory_id = inventory.inventory_id INNER JOIN film ON inventory.film_id = film.film_id INNER JOIN film_category ON film.film_id = film_category.film_id GROUP BY customer.first_name, customer.last_name ) AS t WHERE t.num > 5
Database: movie_3
Note: comedy is the name of a category; average number of actors refers to AVG(actor_id);
Question: What is the average number of actors acted in comedy movies?
SQL: SELECT avg(film_actor.actor_id) FROM film_actor INNER JOIN film_category ON film_actor.film_id = film_category.film_id INNER JOIN category ON film_category.category_id = category.category_id INNER JOIN actor ON actor.actor_id = film_actor.actor_id WHERE category.name = 'comedy'
Database: movie_3
Note: children is the name of the category; rented the most refers to MAX(COUNT(title));
Question: In children's movies, which was rented the most?
SQL: SELECT t.title FROM ( SELECT film.title, count(film.title) AS num FROM customer INNER JOIN rental ON customer.customer_id = rental.customer_id INNER JOIN inventory ON rental.inventory_id = inventory.inventory_id INNER JOIN film ON inventory.film_id = film.film_id INNER JOIN film_category ON film.film_id = film_category.film_id INNER JOIN category ON film_category.category_id = category.category_id WHERE category.name = 'Children' GROUP BY film.title ) AS t ORDER BY t.num DESC LIMIT 1
Database: movie_3
Note: store 1 refers to store_id = 1; average rent amount refers to AVG(amount); calculation = DIVIDE(amount > AVG(amount), COUNT(customer_id)) * 100;
Question: Calculate the percentage of customers who paid more than the average rent amount in store 1.
SQL: SELECT cast(( SELECT count(customer.customer_id) FROM customer INNER JOIN payment ON customer.customer_id = payment.customer_id WHERE payment.amount > ( SELECT avg(amount) FROM payment ) ) AS REAL) * 100 / ( SELECT count(customer_id) FROM customer )
Database: movie_3
Note: full name refers to first_name, last_name; 'family' AND 'Sci-Fi' are names of the category; customers who rented more family movies than Sci-Fi movies refers to count(name = 'Family') > count(name = 'Sci-Fi');
Question: Find and list the full name of customers who rented more family movies than Sci-Fi movies.
SQL: SELECT DISTINCT iif(sum(iif(category.name = 'Family', 1, 0)) - sum(iif(category.name = 'Sci-Fi', 1, 0)) > 0, customer.first_name, 0) FROM customer INNER JOIN rental ON customer.customer_id = rental.customer_id INNER JOIN inventory ON rental.inventory_id = inventory.inventory_id INNER JOIN film_category ON film_category.film_id = inventory.film_id INNER JOIN category ON film_category.category_id = category.category_id GROUP BY customer.customer_id
Database: movie_3
Note: 'Adults Only' refers to rating = 'NC-17';
Question: Indicate the title of all the films rated as 'Adults Only'.
SQL: SELECT title FROM film WHERE rating = 'NC-17'
Database: movie_3
Note: surname means last_name;
Question: How many actors with the surname Kilmer are there?
SQL: SELECT count(actor_id) FROM actor WHERE last_name = 'Kilmer'
Database: movie_3
Note: length longer than 100 refers to length > 100;
Question: How many movies have a length longer than 100?
SQL: SELECT count(film_id) FROM film WHERE LENGTH > 100
Database: movie_3
Note: payments made refers to amount; throughout the month of August 2005 refers to payment_date like '2005-08%';
Question: How many payments were made throughout the month of August 2005?
SQL: SELECT sum(amount) FROM payment WHERE payment_date LIKE '2005-08%'