| | --- |
| | license: apache-2.0 |
| | --- |
| | |
| | Bird SQL https://bird-bench.github.io/ train dataset with schema |
| |
|
| | Preview |
| |
|
| | ``` |
| | [ |
| | { |
| | "db_id": "movie_platform", |
| | "question": "Name movie titles released in year 1945. Sort the listing by the descending order of movie popularity.", |
| | "evidence": "released in the year 1945 refers to movie_release_year = 1945;", |
| | "SQL": "SELECT movie_title FROM movies WHERE movie_release_year = 1945 ORDER BY movie_popularity DESC LIMIT 1", |
| | "schema": { |
| | "table_names_original": [ |
| | "lists", |
| | "movies", |
| | "ratings_users", |
| | "lists_users", |
| | "ratings" |
| | ], |
| | "table_names": [ |
| | "lists", |
| | "movies", |
| | "ratings_users", |
| | "lists_users", |
| | "ratings" |
| | ], |
| | "column_names_original": [ |
| | [ |
| | -1, |
| | "*" |
| | ], |
| | [ |
| | 0, |
| | "user_id" |
| | ], |
| | [ |
| | 0, |
| | "list_id" |
| | ], |
| | [ |
| | 0, |
| | "list_title" |
| | ], |
| | [ |
| | 0, |
| | "list_movie_number" |
| | ], |
| | [ |
| | 0, |
| | "list_update_timestamp_utc" |
| | ], |
| | [ |
| | 0, |
| | "list_creation_timestamp_utc" |
| | ], |
| | [ |
| | 0, |
| | "list_followers" |
| | ], |
| | [ |
| | 0, |
| | "list_url" |
| | ], |
| | [ |
| | 0, |
| | "list_comments" |
| | ], |
| | [ |
| | 0, |
| | "list_description" |
| | ], |
| | [ |
| | 0, |
| | "list_cover_image_url" |
| | ], |
| | [ |
| | 0, |
| | "list_first_image_url" |
| | ], |
| | [ |
| | 0, |
| | "list_second_image_url" |
| | ], |
| | [ |
| | 0, |
| | "list_third_image_url" |
| | ], |
| | [ |
| | 1, |
| | "movie_id" |
| | ], |
| | [ |
| | 1, |
| | "movie_title" |
| | ], |
| | [ |
| | 1, |
| | "movie_release_year" |
| | ], |
| | [ |
| | 1, |
| | "movie_url" |
| | ], |
| | [ |
| | 1, |
| | "movie_title_language" |
| | ], |
| | [ |
| | 1, |
| | "movie_popularity" |
| | ], |
| | [ |
| | 1, |
| | "movie_image_url" |
| | ], |
| | [ |
| | 1, |
| | "director_id" |
| | ], |
| | [ |
| | 1, |
| | "director_name" |
| | ], |
| | [ |
| | 1, |
| | "director_url" |
| | ], |
| | [ |
| | 2, |
| | "user_id" |
| | ], |
| | [ |
| | 2, |
| | "rating_date_utc" |
| | ], |
| | [ |
| | 2, |
| | "user_trialist" |
| | ], |
| | [ |
| | 2, |
| | "user_subscriber" |
| | ], |
| | [ |
| | 2, |
| | "user_avatar_image_url" |
| | ], |
| | [ |
| | 2, |
| | "user_cover_image_url" |
| | ], |
| | [ |
| | 2, |
| | "user_eligible_for_trial" |
| | ], |
| | [ |
| | 2, |
| | "user_has_payment_method" |
| | ], |
| | [ |
| | 3, |
| | "user_id" |
| | ], |
| | [ |
| | 3, |
| | "list_id" |
| | ], |
| | [ |
| | 3, |
| | "list_update_date_utc" |
| | ], |
| | [ |
| | 3, |
| | "list_creation_date_utc" |
| | ], |
| | [ |
| | 3, |
| | "user_trialist" |
| | ], |
| | [ |
| | 3, |
| | "user_subscriber" |
| | ], |
| | [ |
| | 3, |
| | "user_avatar_image_url" |
| | ], |
| | [ |
| | 3, |
| | "user_cover_image_url" |
| | ], |
| | [ |
| | 3, |
| | "user_eligible_for_trial" |
| | ], |
| | [ |
| | 3, |
| | "user_has_payment_method" |
| | ], |
| | [ |
| | 4, |
| | "movie_id" |
| | ], |
| | [ |
| | 4, |
| | "rating_id" |
| | ], |
| | [ |
| | 4, |
| | "rating_url" |
| | ], |
| | [ |
| | 4, |
| | "rating_score" |
| | ], |
| | [ |
| | 4, |
| | "rating_timestamp_utc" |
| | ], |
| | [ |
| | 4, |
| | "critic" |
| | ], |
| | [ |
| | 4, |
| | "critic_likes" |
| | ], |
| | [ |
| | 4, |
| | "critic_comments" |
| | ], |
| | [ |
| | 4, |
| | "user_id" |
| | ], |
| | [ |
| | 4, |
| | "user_trialist" |
| | ], |
| | [ |
| | 4, |
| | "user_subscriber" |
| | ], |
| | [ |
| | 4, |
| | "user_eligible_for_trial" |
| | ], |
| | [ |
| | 4, |
| | "user_has_payment_method" |
| | ] |
| | ], |
| | "column_names": [ |
| | [ |
| | -1, |
| | "*" |
| | ], |
| | [ |
| | 0, |
| | "user_id" |
| | ], |
| | [ |
| | 0, |
| | "list_id" |
| | ], |
| | [ |
| | 0, |
| | "list_title" |
| | ], |
| | [ |
| | 0, |
| | "list_movie_number" |
| | ], |
| | [ |
| | 0, |
| | "list_update_timestamp_utc" |
| | ], |
| | [ |
| | 0, |
| | "list_creation_timestamp_utc" |
| | ], |
| | [ |
| | 0, |
| | "list_followers" |
| | ], |
| | [ |
| | 0, |
| | "list_url" |
| | ], |
| | [ |
| | 0, |
| | "list_comments" |
| | ], |
| | [ |
| | 0, |
| | "list_description" |
| | ], |
| | [ |
| | 0, |
| | "list_cover_image_url" |
| | ], |
| | [ |
| | 0, |
| | "list_first_image_url" |
| | ], |
| | [ |
| | 0, |
| | "list_second_image_url" |
| | ], |
| | [ |
| | 0, |
| | "list_third_image_url" |
| | ], |
| | [ |
| | 1, |
| | "movie_id" |
| | ], |
| | [ |
| | 1, |
| | "movie_title" |
| | ], |
| | [ |
| | 1, |
| | "movie_release_year" |
| | ], |
| | [ |
| | 1, |
| | "movie_url" |
| | ], |
| | [ |
| | 1, |
| | "movie_title_language" |
| | ], |
| | [ |
| | 1, |
| | "movie_popularity" |
| | ], |
| | [ |
| | 1, |
| | "movie_image_url" |
| | ], |
| | [ |
| | 1, |
| | "director_id" |
| | ], |
| | [ |
| | 1, |
| | "director_name" |
| | ], |
| | [ |
| | 1, |
| | "director_url" |
| | ], |
| | [ |
| | 2, |
| | "user_id" |
| | ], |
| | [ |
| | 2, |
| | "rating_date_utc" |
| | ], |
| | [ |
| | 2, |
| | "user_trialist" |
| | ], |
| | [ |
| | 2, |
| | "user_subscriber" |
| | ], |
| | [ |
| | 2, |
| | "user_avatar_image_url" |
| | ], |
| | [ |
| | 2, |
| | "user_cover_image_url" |
| | ], |
| | [ |
| | 2, |
| | "user_eligible_for_trial" |
| | ], |
| | [ |
| | 2, |
| | "user_has_payment_method" |
| | ], |
| | [ |
| | 3, |
| | "user_id" |
| | ], |
| | [ |
| | 3, |
| | "list_id" |
| | ], |
| | [ |
| | 3, |
| | "list_update_date_utc" |
| | ], |
| | [ |
| | 3, |
| | "list_creation_date_utc" |
| | ], |
| | [ |
| | 3, |
| | "user_trialist" |
| | ], |
| | [ |
| | 3, |
| | "user_subscriber" |
| | ], |
| | [ |
| | 3, |
| | "user_avatar_image_url" |
| | ], |
| | [ |
| | 3, |
| | "user_cover_image_url" |
| | ], |
| | [ |
| | 3, |
| | "user_eligible_for_trial" |
| | ], |
| | [ |
| | 3, |
| | "user_has_payment_method" |
| | ], |
| | [ |
| | 4, |
| | "movie_id" |
| | ], |
| | [ |
| | 4, |
| | "rating_id" |
| | ], |
| | [ |
| | 4, |
| | "rating_url" |
| | ], |
| | [ |
| | 4, |
| | "rating_score" |
| | ], |
| | [ |
| | 4, |
| | "rating_timestamp_utc" |
| | ], |
| | [ |
| | 4, |
| | "critic" |
| | ], |
| | [ |
| | 4, |
| | "critic_likes" |
| | ], |
| | [ |
| | 4, |
| | "critic_comments" |
| | ], |
| | [ |
| | 4, |
| | "user_id" |
| | ], |
| | [ |
| | 4, |
| | "user_trialist" |
| | ], |
| | [ |
| | 4, |
| | "user_subscriber" |
| | ], |
| | [ |
| | 4, |
| | "user_eligible_for_trial" |
| | ], |
| | [ |
| | 4, |
| | "user_has_payment_method" |
| | ] |
| | ], |
| | "column_types": [ |
| | "text", |
| | "integer", |
| | "integer", |
| | "text", |
| | "integer", |
| | "text", |
| | "text", |
| | "integer", |
| | "text", |
| | "integer", |
| | "text", |
| | "text", |
| | "text", |
| | "text", |
| | "text", |
| | "integer", |
| | "text", |
| | "integer", |
| | "text", |
| | "text", |
| | "integer", |
| | "text", |
| | "text", |
| | "text", |
| | "text", |
| | "integer", |
| | "text", |
| | "integer", |
| | "integer", |
| | "text", |
| | "text", |
| | "integer", |
| | "integer", |
| | "integer", |
| | "integer", |
| | "text", |
| | "text", |
| | "integer", |
| | "integer", |
| | "text", |
| | "text", |
| | "text", |
| | "text", |
| | "integer", |
| | "integer", |
| | "text", |
| | "integer", |
| | "text", |
| | "text", |
| | "integer", |
| | "integer", |
| | "integer", |
| | "integer", |
| | "integer", |
| | "integer", |
| | "integer" |
| | ] |
| | } |
| | }, |
| | ... |
| | ] |
| | ``` |