The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                  return check_status(status)
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 304, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1879, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
string
domain
string
problem
string
question
string
evidence
string
db_id
string
database_path
string
gold_sql
string
source_gold_sql
string
source_gold_sql_sha256
string
gold_sql_overridden
bool
grading_method
string
source
string
database_sha256
string
current_role
string
dataset_release_id
string
numeric_policy
string
numeric_tolerance
bool
grading_max_rows
null
grading_max_bytes
null
timeout_seconds
null
streaming_set_grading
null
grading_max_index_bytes
null
revisql-train:3
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Name the titles of the movies with the most ratings.
movie with the most rating refers to MAX(COUNT(ratings));
movie_platform
../databases/movie_platform.sqlite
SELECT m.movie_title FROM movies AS m JOIN ratings AS r ON m.movie_id = r.movie_id GROUP BY m.movie_id, m.movie_title HAVING COUNT(*) = (SELECT COUNT(*) FROM movies AS m JOIN ratings AS r ON m.movie_id = r.movie_id GROUP BY m.movie_id, m.movie_title ORDER BY COUNT(*) DESC LIMIT 1);
SELECT m.movie_title FROM movies AS m JOIN ratings AS r ON m.movie_id = r.movie_id GROUP BY m.movie_id, m.movie_title HAVING COUNT(*) = (SELECT COUNT(*) FROM movies AS m JOIN ratings AS r ON m.movie_id = r.movie_id GROUP BY m.movie_id, m.movie_title ORDER BY COUNT(*) DESC LIMIT 1);
a58b7161c60d5d4ee9e44ac1468e0136965fd6f1449d56ba9b8b60296accc731
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:19
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
For movie id 1269, how many users, who was a paying subscriber and was eligible for trial when he rated the movie, gave the movie a rating score of less than or equal to 2?
paying subscriber refers to user_has_payment_method = 1; eligible for trial refers to user_eligible_for_trial = 1; rating_score< = 2;
movie_platform
../databases/movie_platform.sqlite
SELECT COUNT(DISTINCT user_id) FROM ratings WHERE movie_id = 1269 AND rating_score <= 2 AND user_eligible_for_trial = 1 AND user_has_payment_method = 1
SELECT COUNT(DISTINCT user_id) FROM ratings WHERE movie_id = 1269 AND rating_score <= 2 AND user_eligible_for_trial = 1 AND user_has_payment_method = 1
723eeccbbec62c40037c2f59775ead75f90afeaac9dac40ad1fae6a746b01bac
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:33
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Among the lists created by user 4208563, which ones have the highest number of followers? Indicate the list ids, how many followers they have, and whether the users were a subscriber or not when they created the lists.
User 4208563 refers to user_id;highest number of followers refers to MAX(list_followers); user_subscriber = 1 means that the user was a subscriber when he created the list; user_subscriber = 0 means the user was not a subscriber when he created the list (to replace); return 1 if the user was a subscriber when the list ...
movie_platform
../databases/movie_platform.sqlite
SELECT T2.list_id, T1.list_followers, T2.user_subscriber = 1 FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T2.list_id = T2.list_id WHERE T2.user_id = 4208563 AND T1.list_followers = (SELECT MAX(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND...
SELECT T2.list_id, T1.list_followers, T2.user_subscriber = 1 FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND T2.list_id = T2.list_id WHERE T2.user_id = 4208563 AND T1.list_followers = (SELECT MAX(T1.list_followers) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.user_id = T2.user_id AND...
2f3316b55225acb9d126861c4317aa70c4ce8bf855a07a9d603a95c0ba969c0d
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:47
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
What are the titles of the movies directed by Christopher Nolan that have received the highest number of 5 rating scores.
5 rating scores refer to rating_score; Christopher Nolan refer to director_name
movie_platform
../databases/movie_platform.sqlite
SELECT m.movie_title FROM movies AS m LEFT JOIN ratings AS r ON m.movie_id = r.movie_id AND r.rating_score = 5 WHERE m.director_name = 'Christopher Nolan' GROUP BY m.movie_id HAVING COUNT(CASE WHEN r.rating_score = 5 THEN 1 END) = (SELECT COUNT(CASE WHEN r.rating_score = 5 THEN 1 END) cnt FROM movies AS m LEFT JOIN rat...
SELECT m.movie_title FROM movies AS m LEFT JOIN ratings AS r ON m.movie_id = r.movie_id AND r.rating_score = 5 WHERE m.director_name = 'Christopher Nolan' GROUP BY m.movie_id HAVING COUNT(CASE WHEN r.rating_score = 5 THEN 1 END) = (SELECT COUNT(CASE WHEN r.rating_score = 5 THEN 1 END) cnt FROM movies AS m LEFT JOIN rat...
742e09638685429b02b7276857ae471880d88cbf24ab6ed26552875f58297d8f
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:50
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
How many movie lists were still updated more than 10 years after it was created?
updated more than 10 years after it was created refers to list_update_timestamp_utc > (list_creation_timestamp_utc+10);
movie_platform
../databases/movie_platform.sqlite
SELECT COUNT(*) FROM lists WHERE SUBSTR(list_update_timestamp_utc, 1, 4) - SUBSTR(list_creation_timestamp_utc, 1, 4) > 10
SELECT COUNT(*) FROM lists WHERE SUBSTR(list_update_timestamp_utc, 1, 4) - SUBSTR(list_creation_timestamp_utc, 1, 4) > 10
0162c7e29613f0062234af82093ae321e51f815ab1e109db326b581285b6a4cd
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:76
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Which film got 1 like and 2 comments in user 58149469's critic? Indicate the movie titles.
user 58149469 refers to user_id = 58149469; critic with 1 like refers to critic_likes = 1; critic with 2 comments refers to critic_comments = 2;
movie_platform
../databases/movie_platform.sqlite
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 58149469 AND T1.critic_likes = 1 AND T1.critic_comments = 2
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 58149469 AND T1.critic_likes = 1 AND T1.critic_comments = 2
cbff37c8f912b64f2962ab112c9740242e5c17211cdc73e4496a00a7fe1266e0
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:80
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Please list the movies rated by the user who created the movie list "250 Favourite Films".
250 Favourite Films' is list_title; movies refers to movie_title;
movie_platform
../databases/movie_platform.sqlite
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists AS T3 ON T3.user_id = T1.user_id WHERE T3.list_title = '250 Favourite Films'
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists AS T3 ON T3.user_id = T1.user_id WHERE T3.list_title = '250 Favourite Films'
e3ea7148b7fcd5953847201f71c8c7f3065f2f47aad0c0d53980b76699380b38
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:88
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Which of the films directed by Paul Thomas Anderson are the most popular among Mubi users? List the movie titles.
Paul Thomas Anderson is the director name; the most popular refers to Max(movie_popularity); films refers to movies;
movie_platform
../databases/movie_platform.sqlite
SELECT movie_title FROM movies WHERE director_name = 'Paul Thomas Anderson' AND movie_popularity = (SELECT MAX(movie_popularity) FROM movies WHERE director_name = 'Paul Thomas Anderson')
SELECT movie_title FROM movies WHERE director_name = 'Paul Thomas Anderson' AND movie_popularity = (SELECT MAX(movie_popularity) FROM movies WHERE director_name = 'Paul Thomas Anderson')
df3f8b553f1dee6187c234decca4348b94fdec7e3b95dd89255e95ecd8f98134
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:92
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Please provide the titles of the lists with the most comments on the lists.
the most comments refers to Max(list_comments);
movie_platform
../databases/movie_platform.sqlite
SELECT list_title FROM lists WHERE list_comments = (SELECT MAX(list_comments) FROM lists);
SELECT list_title FROM lists WHERE list_comments = (SELECT MAX(list_comments) FROM lists);
c68d6ed3cda0e1e0ab4d230df84bb6fe5e36d8c000e01878510e81d89fd53e4e
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:93
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Which film released in 2008 has the highest average rating score? List the movie titles.
film released in 2008 refers to movie_release_year = 2008; scored the highest refers to Max(AVG(rating_score)); film refers to movie;
movie_platform
../databases/movie_platform.sqlite
SELECT m.movie_title FROM movies AS m JOIN ratings AS r ON r.movie_id = m.movie_id WHERE m.movie_release_year = 2008 GROUP BY m.movie_id HAVING AVG(r.rating_score) = (SELECT AVG(r.rating_score) FROM movies AS m JOIN ratings AS r ON r.movie_id = m.movie_id WHERE m.movie_release_year = 2008 GROUP BY m.movie_id ORDER BY A...
SELECT m.movie_title FROM movies AS m JOIN ratings AS r ON r.movie_id = m.movie_id WHERE m.movie_release_year = 2008 GROUP BY m.movie_id HAVING AVG(r.rating_score) = (SELECT AVG(r.rating_score) FROM movies AS m JOIN ratings AS r ON r.movie_id = m.movie_id WHERE m.movie_release_year = 2008 GROUP BY m.movie_id ORDER BY A...
c07fbddf1f192ba09e055b927a931bb1be3672a23e96125f11b7f4416519a3d5
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:95
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
How many users have more than 100 followers in the list created by users in 2009?
more than 100 followers refers to list_followers >100;  list created by the user in 2009 refers to list_creation_date_utc = '2009';
movie_platform
../databases/movie_platform.sqlite
SELECT COUNT(DISTINCT T1.user_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_followers > 100 AND T1.list_creation_date_utc LIKE '2009%'
SELECT COUNT(DISTINCT T1.user_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_followers > 100 AND T1.list_creation_date_utc LIKE '2009%'
5d025234c0c899195754fa78299eec8bd36ab4e02e6622fb6cce1b2e5a455f2b
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:106
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
What is the average score for the movie Versailles Rive-Gauche?
Versailles Rive-Gauche' is movie_title; average score refers to Avg(rating_score);
movie_platform
../databases/movie_platform.sqlite
SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title LIKE 'Versailles Rive-Gauche'
SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title LIKE 'Versailles Rive-Gauche'
03f37f1d68522ab8d7eade387ca6540c229d21622fce7078f3a2465049039772
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:107
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
Which films rated by user 59988436 has received 21 comments? Indicate the movie titles.
user 59988436 refers to user_id = 59988436; received 21 comments refers to critic_comments = 21; film refers to movie;
movie_platform
../databases/movie_platform.sqlite
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 59988436 AND T1.critic_comments = 21
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 59988436 AND T1.critic_comments = 21
4dca1017c6e00eb6ab5b02a4ae70c97e641d3a291debeeae3d8fa73fe1ab13b9
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:119
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
What's the number of users gave the movie "Downfall" a rating of "4"?
movie "Downfall" refers to movie_title = 'Downfall'; rating of "4" refers to rating_score = 4
movie_platform
../databases/movie_platform.sqlite
SELECT COUNT(DISTINCT T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Downfall' AND T1.rating_score = 4
SELECT COUNT(DISTINCT T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Downfall' AND T1.rating_score = 4
6f8970ffc41092fa7efd44f46a1cc3e5a0c256cba8d2a5fc47e2cc4bbe84ca63
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:144
movie_platform
Database Engine: SQLite Database Schema: CREATE TABLE movies ( `movie_id` integer, -- ID related to the movie on Mubi. `movie_title` text, -- Name of the movie. `movie_release_year` integer, -- Release year of the movie. `movie_url` text, -- URL to the movie page on Mubi. `movie_title_language` tex...
For all list titles with at least 200 movies in the list, what is their average number of followers?
at least 200 movies in the list refers to list_movie_number >= 200; average number of followers refers to avg(list_followers)
movie_platform
../databases/movie_platform.sqlite
SELECT AVG(list_followers) FROM lists WHERE list_movie_number >= 200
SELECT AVG(list_followers) FROM lists WHERE list_movie_number >= 200
6bf1cca7564101a219249f4b85ea513deba95f06eee64c2f0fcba1374c2a8178
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
cd03bfa8c12445c40f46dcd69811d02fa3df917fbe54f4d886ac0f149c4004a9
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:169
book_publishing_company
Database Engine: SQLite Database Schema: CREATE TABLE jobs ( `job_id` integer, -- job id. unique id number identifying the jobs. `job_desc` text, -- job description. staff should be mentioned. `min_lvl` integer, -- min level. min job level. `max_lvl` integer, -- max level. max job level. level range fo...
List the title, price and publication date for all sales with 'ON invoice' payment terms.
publication date refers to pubdate; payment terms refers to payterms; payterms = 'ON invoice'
book_publishing_company
../databases/book_publishing_company.sqlite
SELECT T2.title, T2.price, T2.pubdate FROM sales AS T1 INNER JOIN titles AS T2 ON T1.title_id = T2.title_id WHERE T1.payterms = 'ON invoice'
SELECT T2.title, T2.price, T2.pubdate FROM sales AS T1 INNER JOIN titles AS T2 ON T1.title_id = T2.title_id WHERE T1.payterms = 'ON invoice'
88bcb1d2300d289853e0da24aef714a08a3ed84286490972e007b9d8b3b38d5e
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
b493a54214d7b224a6f2b9b22b0f651c98f0c345a91cdec10b94825d4d897f4d
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:222
book_publishing_company
Database Engine: SQLite Database Schema: CREATE TABLE jobs ( `job_id` integer, -- job id. unique id number identifying the jobs. `job_desc` text, -- job description. staff should be mentioned. `min_lvl` integer, -- min level. min job level. `max_lvl` integer, -- max level. max job level. level range fo...
What's on the notes for the order happened on 1994/9/14?
order happened on refers to ord_date
book_publishing_company
../databases/book_publishing_company.sqlite
SELECT DISTINCT T1.notes FROM titles AS T1 INNER JOIN sales AS T2 ON T1.title_id = T2.title_id WHERE STRFTIME('%Y-%m-%d', T2.ord_date) = '1994-09-14'
SELECT DISTINCT T1.notes FROM titles AS T1 INNER JOIN sales AS T2 ON T1.title_id = T2.title_id WHERE STRFTIME('%Y-%m-%d', T2.ord_date) = '1994-09-14'
ec240063439cb3d1663ffef0f657d6c809a4adcc622bf22b91d6421123657c59
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
b493a54214d7b224a6f2b9b22b0f651c98f0c345a91cdec10b94825d4d897f4d
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:245
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
What is the detailed product of the complaint filed by Diesel Galloway on 2014/7/3?
detailed product refers to "sub-product"; on 2014/7/3 refers to "Date received" = '2014-07-03';
retail_complains
../databases/retail_complains.sqlite
SELECT T2.`Sub-product` FROM client AS T1 INNER JOIN events AS T2 ON T1.client_id = T2.Client_ID WHERE T1.first = 'Diesel' AND T1.last = 'Galloway' AND T2.`Date received` = '2014-07-03'
SELECT T2.`Sub-product` FROM client AS T1 INNER JOIN events AS T2 ON T1.client_id = T2.Client_ID WHERE T1.first = 'Diesel' AND T1.last = 'Galloway' AND T2.`Date received` = '2014-07-03'
904cdd5a268f8a921bed54727b8b1c80e99413b30de5894e647f85696d764bd7
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:248
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
What is the full name of the client whose complaint on 2017/3/27 was received by MICHAL?
full names = first, middle, last; on 2017/3/27 refers to "Date received" = '2017-03-27'; MICHAL refers to server = 'MICHAL';
retail_complains
../databases/retail_complains.sqlite
SELECT T1.first, T1.middle, T1.last FROM client AS T1 INNER JOIN callcenterlogs AS T2 ON T1.client_id = T2.`rand client` WHERE T2.`Date received` = '2017-03-27' AND T2.server = 'MICHAL'
SELECT T1.first, T1.middle, T1.last FROM client AS T1 INNER JOIN callcenterlogs AS T2 ON T1.client_id = T2.`rand client` WHERE T2.`Date received` = '2017-03-27' AND T2.server = 'MICHAL'
096ee37ac4f6b15db8ec996239912fc2d5a15b831052d4d95d5b8ff14949686a
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:265
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
What was the review context from Jacksonville on 2017/7/22?
Jacksonville refers to city = 'Jacksonville'; on 2017/7/22 refers to Date = '2017-07-22';
retail_complains
../databases/retail_complains.sqlite
SELECT T1.Reviews FROM reviews AS T1 INNER JOIN district AS T2 ON T1.district_id = T2.district_id WHERE T2.city = 'Jacksonville' AND T1.Date = '2017-07-22'
SELECT T1.Reviews FROM reviews AS T1 INNER JOIN district AS T2 ON T1.district_id = T2.district_id WHERE T2.city = 'Jacksonville' AND T1.Date = '2017-07-22'
9fa3a4fd5cca07be57a515c56007757705d316bb8ba673f68149875de96b37ea
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:267
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
How many stars did "Eagle Capital" received in total from Little Rock on 2013/4/4?
Eagle Capital refers to Product = 'Eagle Capital'; Little Rock is a city; on 2013/4/4 refers to Date = '2013-04-04';
retail_complains
../databases/retail_complains.sqlite
SELECT SUM(`Stars`) AS total_stars FROM `reviews` r JOIN `district` d ON r.`district_id` = d.`district_id` WHERE r.`Product` = 'Eagle Capital' AND d.`city` = 'Little Rock' AND r.`Date` = '2013-04-04'
SELECT SUM(`Stars`) AS total_stars FROM `reviews` r JOIN `district` d ON r.`district_id` = d.`district_id` WHERE r.`Product` = 'Eagle Capital' AND d.`city` = 'Little Rock' AND r.`Date` = '2013-04-04'
9885564aedcf4bfd157f7b6457d493418892d8fbcd2ee5bf8c2afa3766f20970
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:274
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
Which product got the most five stars, and how many?
most five stars refers to MAX(COUNT(stars = 5));
retail_complains
../databases/retail_complains.sqlite
SELECT T.Product, MAX(T.num) FROM ( SELECT Product, COUNT(Stars) AS num FROM reviews WHERE Stars = 5 GROUP BY Product ) T
SELECT T.Product, MAX(T.num) FROM ( SELECT Product, COUNT(Stars) AS num FROM reviews WHERE Stars = 5 GROUP BY Product ) T
e67faff7103791066f05543f38917ba80b01f527408285df9a17a4f429e6bfba
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:286
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
Find the number of service members who complained in Syracuse.
service members refers to client.client_id; Syracuse refers to city = 'Syracuse';
retail_complains
../databases/retail_complains.sqlite
SELECT COUNT(DISTINCT T1.client_id) FROM client AS T1 INNER JOIN events AS T2 ON T1.client_id = T2.Client_ID WHERE T2.Tags = 'Servicemember' AND T1.city = 'Syracuse'
SELECT COUNT(DISTINCT T1.client_id) FROM client AS T1 INNER JOIN events AS T2 ON T1.client_id = T2.Client_ID WHERE T2.Tags = 'Servicemember' AND T1.city = 'Syracuse'
4b0ae63c366ddae0c1c15d6e65944fa2af2422a64a55effc758a150086eaa50f
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:315
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
What is the average age of Norwalk clients?
average age = AVG(age); Norwalk refers to city = 'Norwalk';
retail_complains
../databases/retail_complains.sqlite
SELECT CAST(SUM(T1.age) AS REAL) / COUNT(T1.age) AS average FROM client AS T1 INNER JOIN district AS T2 ON T1.district_id = T2.district_id WHERE T2.city = 'Norwalk'
SELECT CAST(SUM(T1.age) AS REAL) / COUNT(T1.age) AS average FROM client AS T1 INNER JOIN district AS T2 ON T1.district_id = T2.district_id WHERE T2.city = 'Norwalk'
a61c34a30cbad8a29e36a18072efe023da9afd4ca7dd130b297e12b2b0416fde
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:318
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
Which region does Noah Thompson live in?
retail_complains
../databases/retail_complains.sqlite
SELECT s.Region FROM client c JOIN district d ON c.district_id = d.district_id JOIN state s ON d.state_abbrev = s.StateCode WHERE c.first = 'Noah' AND c.last = 'Thompson';
SELECT s.Region FROM client c JOIN district d ON c.district_id = d.district_id JOIN state s ON d.state_abbrev = s.StateCode WHERE c.first = 'Noah' AND c.last = 'Thompson';
bb79dfc0ad5aab1d6c4f15976ce6e6b014ed62680414247d9774b6ca45251100
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:321
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
How long was Kendall Allen's complaint about her credit card?
how long refers to ser_time; credit card refers to Product = 'Credit Card';
retail_complains
../databases/retail_complains.sqlite
SELECT T3.ser_time FROM events AS T1 INNER JOIN client AS T2 ON T1.Client_ID = T2.client_id INNER JOIN callcenterlogs AS T3 ON T1.`Complaint ID` = T3.`Complaint ID` WHERE T2.first = 'Kendall' AND T2.last = 'Allen' AND T2.sex = 'Female' AND T1.Product = 'Credit card'
SELECT T3.ser_time FROM events AS T1 INNER JOIN client AS T2 ON T1.Client_ID = T2.client_id INNER JOIN callcenterlogs AS T3 ON T1.`Complaint ID` = T3.`Complaint ID` WHERE T2.first = 'Kendall' AND T2.last = 'Allen' AND T2.sex = 'Female' AND T1.Product = 'Credit card'
c13c0ee94704d522a3140b804b465132f833878a90936c3873c811af60fccbe1
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:330
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
List the full names of all clients who live in the Pacific division.
full name refers to first, middle, and last
retail_complains
../databases/retail_complains.sqlite
SELECT T2.first, T2.middle, T2.last FROM district AS T1 INNER JOIN client AS T2 ON T1.district_id = T2.district_id WHERE T1.division = 'Pacific'
SELECT T2.first, T2.middle, T2.last FROM district AS T1 INNER JOIN client AS T2 ON T1.district_id = T2.district_id WHERE T1.division = 'Pacific'
23aa10649384d7ed422458e6b460ff970c3ddd5fe1a43be88338e43e7914e094
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:333
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
What is the address of the client who made a complaint via postal mail on March 14, 2012?
address refers to address_1, address_2; via postal mail refers to Submitted via = 'Postal mail'; March 14 2012 refers to Date received = '2012-03-14'
retail_complains
../databases/retail_complains.sqlite
SELECT T1.address_1, T1.address_2 FROM client AS T1 INNER JOIN events AS T2 ON T1.client_id = T2.Client_ID WHERE T2.`Date received` = '2012-03-14' AND T2.`Submitted via` = 'Postal mail'
SELECT T1.address_1, T1.address_2 FROM client AS T1 INNER JOIN events AS T2 ON T1.client_id = T2.Client_ID WHERE T2.`Date received` = '2012-03-14' AND T2.`Submitted via` = 'Postal mail'
6d18e77039fcaf0fb1c0378662c88ac9edbd24328f041a381f83412dd2c26c67
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
revisql-train:346
retail_complains
Database Engine: SQLite Database Schema: CREATE TABLE client ( `client_id` text, -- client id. unique id client number. `sex` text, -- sex of client. `day` integer, -- day of the birthday. `month` integer, -- month of the birthday. `year` integer, -- year when is born. `age` integer, -- age. te...
List down the email of client whose complaint is type "PS".
retail_complains
../databases/retail_complains.sqlite
SELECT DISTINCT T1.email FROM client AS T1 INNER JOIN callcenterlogs AS T2 ON T1.client_id = T2.`rand client` WHERE T2.type = 'PS'
SELECT DISTINCT T1.email FROM client AS T1 INNER JOIN callcenterlogs AS T2 ON T1.client_id = T2.`rand client` WHERE T2.type = 'PS'
69ceea98e153d55736125dff869f7fae1bee6d442f8e35e93723432b47b883ae
false
set
ReViSQL/9fac371aa22019e9912dcbd6572e8fe8194d352a:bird-verified-train.json
03dce545a321d5564f5ac1ccd123bd5948c90ef7b56253fea534e11235cbe8bc
paper_train
revisql-verified-v1
diamond-numeric-v1
false
null
null
null
null
null
End of preview.