Question: For each city, list their names in decreasing order by their highest station latitude.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : city (text) , lat (number) , id (number)


Question: What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : date (text) , cloud_cover (number)


Question: What are the dates that have the 5 highest cloud cover rates and what are the rates?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : date (text) , cloud_cover (number)


Question: What are the ids and durations of the trips with the top 3 durations?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)


Question: What are the ids of the trips that lasted the longest and how long did they last?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)


Question: For each station, return its longitude and the average duration of trips that started from the station.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : name (text) , long (number) , id (number) | trip : duration (number) , id (number) , start_station_id (number)


Question: For each start station id, what is its name, longitude and average duration of trips started there?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : name (text) , long (number) , id (number) | trip : duration (number) , id (number) , start_station_id (number)


Question: For each station, find its latitude and the minimum duration of trips that ended at the station.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : name (text) , lat (number) , id (number) | trip : duration (number) , id (number) , end_station_id (number)


Question: For each end station id, what is its name, latitude, and minimum duration for trips ended there?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : name (text) , lat (number) , id (number) | trip : duration (number) , id (number) , end_station_id (number)


Question: List all the distinct stations from which a trip of duration below 100 started.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

trip : start_station_name (text) , duration (number) , id (number)


Question: What are all the different start station names for a trip that lasted less than 100?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

trip : start_station_name (text) , duration (number) , id (number)


Question: Find all the zip codes in which the max dew point have never reached 70.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : zip_code (number) , max_dew_point_f (number)


Question: What are all the different zip codes that have a maximum dew point that was always below 70?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : zip_code (number) , max_dew_point_f (number)


Question: Find the id for the trips that lasted at least as long as the average duration of trips in zip code 94103.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

trip : id (number) , duration (number) , zip_code (number)


Question: What are the ids of all trips that had a duration as long as the average trip duration in the zip code 94103?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

trip : id (number) , duration (number) , zip_code (number)


Question: What are the dates in which the mean sea level pressure was between 30.3 and 31?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : date (text) , mean_sea_level_pressure_inches (number)


Question: What are the dates that have an average sea level pressure between 30.3 and 31?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : date (text) , mean_sea_level_pressure_inches (number)


Question: Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : date (text) , max_temperature_f (number) , min_temperature_f (number)


Question: What are the days that had the smallest temperature range, and what was that range?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

weather : date (text) , max_temperature_f (number) , min_temperature_f (number)


Question: What are the id and name of the stations that have ever had more than 12 bikes available?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : id (number) , name (text) | status : station_id (number) , bikes_available (number)


Question: What are the different ids and names of the stations that have had more than 12 bikes available?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : id (number) , name (text) | status : station_id (number) , bikes_available (number)


Question: Give me the zip code where the average mean humidity is below 70 and at least 100 trips took place.

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

trip : zip_code (number) , id (number) | weather : zip_code (number) , mean_humidity (number)


Question: What are the zip codes that have an average mean humidity below 70 and had at least 100 trips come through there?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

trip : zip_code (number) , id (number) | weather : zip_code (number) , mean_humidity (number)


Question: What are the names of stations that are located in Palo Alto city but have never been the ending point of trips more than 100 times?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : name (text) , city (text) , id (number) | trip : end_station_name (text) , id (number)


Question: What are the names of the stations that are located in Palo Alto but have never been the ending point of the trips

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : name (text) , city (text) , id (number) | trip : end_station_name (text) , id (number)


Question: How many trips started from Mountain View city and ended at Palo Alto city?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : id (number) , city (text) | trip : id (number) , start_station_id (number) , end_station_id (number)


Question: How many trips stated from  a station in Mountain View and ended at one in Palo Alto?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : id (number) , city (text) | trip : id (number) , start_station_id (number) , end_station_id (number)


Question: What is the average latitude and longitude of the starting points of all trips?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : lat (number) , long (number) , id (number) | trip : id (number) , start_station_id (number)


Question: What is the average latitude and longitude of all starting stations for the trips?

station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)

station : lat (number) , long (number) , id (number) | trip : id (number) , start_station_id (number)


Question: How many books are there?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)


Question: List the writers of the books in ascending alphabetical order.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)


Question: List the titles of the books in ascending order of issues.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : title (text) , issues (number) , book_id (number)


Question: What are the titles of the books whose writer is not "Elaine Lee"?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : title (text) , writer (text) , book_id (number)


Question: What are the title and issues of the books?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : title (text) , issues (number) , book_id (number)


Question: What are the dates of publications in descending order of price?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publication_date (text) , price (number) , publication_id (number)


Question: What are the distinct publishers of publications with price higher than 5000000?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publisher (text) , price (number) , publication_id (number)


Question: List the publisher of the publication with the highest price.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publisher (text) , price (number) , publication_id (number)


Question: List the publication dates of publications with 3 lowest prices.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publication_date (text) , price (number) , publication_id (number)


Question: Show the title and publication dates of books.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : title (text) , book_id (number) | publication : publication_date (text) , book_id (number) , publication_id (number)


Question: Show writers who have published a book with price more than 4000000.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : writer (text) , book_id (number) | publication : book_id (number) , price (number) , publication_id (number)


Question: Show the titles of books in descending order of publication price.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : title (text) , book_id (number) | publication : book_id (number) , price (number) , publication_id (number)


Question: Show publishers that have more than one publication.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publisher (text) , publication_id (number)


Question: Show different publishers together with the number of publications they have.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publisher (text) , publication_id (number)


Question: Please show the most common publication date.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publication_date (text) , publication_id (number)


Question: List the writers who have written more than one book.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)


Question: List the titles of books that are not published.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

book : title (text) , book_id (number) | publication : book_id (number) , publication_id (number)


Question: Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000.

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publisher (text) , price (number) , publication_id (number)


Question: What is the number of distinct publication dates?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publication_date (text) , publication_id (number)


Question: How many distinct publication dates are there in our record?

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : publication_date (text) , publication_id (number)


Question: Show the prices of publications whose publisher is either "Person" or "Wiley"

publication : publication_id (number) , book_id (number) , publisher (text) , publication_date (text) , price (number) | book : book_id (number) , title (text) , issues (number) , writer (text)

publication : price (number) , publisher (text) , publication_id (number)


Question: How many actors are there?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)


Question: Count the number of actors.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)


Question: List the name of actors in ascending alphabetical order.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)


Question: What are the names of actors, ordered alphabetically?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)


Question: What are the characters and duration of actors?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : character (text) , duration (text) , actor_id (number)


Question: Return the characters and durations for each actor.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : character (text) , duration (text) , actor_id (number)


Question: List the name of actors whose age is not 20.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : name (text) , age (number) , actor_id (number)


Question: What are the names of actors who are not 20 years old?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : name (text) , age (number) , actor_id (number)


Question: What are the characters of actors in descending order of age?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : character (text) , age (number) , actor_id (number)


Question: Return the characters for actors, ordered by age descending.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : character (text) , age (number) , actor_id (number)


Question: What is the duration of the oldest actor?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : duration (text) , age (number) , actor_id (number)


Question: Return the duration of the actor with the greatest age.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

actor : duration (text) , age (number) , actor_id (number)


Question: What are the names of musicals with nominee "Bob Fosse"?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , nominee (text) , musical_id (number)


Question: Return the names of musicals who have the nominee Bob Fosse.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , nominee (text) , musical_id (number)


Question: What are the distinct nominees of the musicals with the award that is not "Tony Award"?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , award (text) , musical_id (number)


Question: Return the different nominees of musicals that have an award that is not the Tony Award.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , award (text) , musical_id (number)


Question: Show names of actors and names of musicals they are in.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: What are the names of actors and the musicals that they are in?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: Show names of actors that have appeared in musical with name "The Phantom of the Opera".

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: What are the names of actors who have been in the musical titled The Phantom of the Opera?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: Show names of actors in descending order of the year their musical is awarded.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) , year (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: What are the names of actors ordered descending by the year in which their musical was awarded?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) , year (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: Show names of musicals and the number of actors who have appeared in the musicals.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: How many actors have appeared in each musical?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: Show names of musicals which have at least three actors.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: What are the names of musicals who have at 3 or more actors?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: Show different nominees and the number of musicals they have been nominated.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , musical_id (number)


Question: How many musicals has each nominee been nominated for?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , musical_id (number)


Question: Please show the nominee who has been nominated the greatest number of times.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , musical_id (number)


Question: Who is the nominee who has been nominated for the most musicals?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , musical_id (number)


Question: List the most common result of the musicals.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : result (text) , musical_id (number)


Question: Return the most frequent result across all musicals.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : result (text) , musical_id (number)


Question: List the nominees that have been nominated more than two musicals.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , musical_id (number)


Question: Who are the nominees who have been nominated more than two times?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , musical_id (number)


Question: List the name of musicals that do not have actors.

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: What are the names of musicals who have no actors?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : name (text) , musical_id (number) | actor : name (text) , musical_id (number) , actor_id (number)


Question: Show the nominees that have nominated musicals for both "Tony Award" and "Drama Desk Award".

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , award (text) , musical_id (number)


Question: Who are the nominees who have been nominated for both a Tony Award and a Drama Desk Award?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , award (text) , musical_id (number)


Question: Show the musical nominee with award "Bob Fosse" or "Cleavant Derricks".

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , award (text) , musical_id (number)


Question: Who are the nominees who were nominated for either of the Bob Fosse or Cleavant Derricks awards?

musical : musical_id (number) , name (text) , year (number) , award (text) , category (text) , nominee (text) , result (text) | actor : actor_id (number) , name (text) , musical_id (number) , character (text) , duration (text) , age (number)

musical : nominee (text) , award (text) , musical_id (number)


Question: Find the emails of the user named "Mary".

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : email (text) , name (text) , uid (number)


Question: What is the partition id of the user named "Iron Man".

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : partitionid (number) , name (text) , uid (number)


Question: How many users are there?

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)


Question: How many followers does each user have?

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)


Question: Find the number of followers for each user.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)


Question: Find the number of tweets in record.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)


Question: Find the number of users who posted some tweets.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)


Question: Find the name and email of the user whose name contains the word ‘Swift’.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , email (text) , uid (number)


Question: Find the names of users whose emails contain ‘superstar’ or ‘edu’.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , email (text) , uid (number)


Question: Return the text of tweets about the topic 'intern'.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)


Question: Find the name and email of the users who have more than 1000 followers.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , email (text) , followers (number) , uid (number)


Question: Find the names of the users whose number of followers is greater than that of the user named "Tyler Swift".

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , uid (number) | follows : f1 (number)


Question: Find the name and email for the users who have more than one follower.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , email (text) , uid (number) | follows : f1 (number)


Question: Find the names of users who have more than one tweet.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , uid (number) | tweets : uid (number) , id (number)


Question: Find the id of users who are followed by Mary and Susan.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

follows : f1 (number) , f2 (number) | user_profiles : uid (number) , name (text)


Question: Find the id of users who are followed by Mary or Susan.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

follows : f1 (number) , f2 (number) | user_profiles : uid (number) , name (text)


Question: Find the name of the user who has the largest number of followers.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , followers (number) , uid (number)


Question: Find the name and email of the user followed by the least number of people.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , email (text) , followers (number) , uid (number)


Question: List the name and number of followers for each user, and sort the results by the number of followers in descending order.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , followers (number) , uid (number)


Question: List the names of 5 users followed by the largest number of other users.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , followers (number) , uid (number)


Question: List the text of all tweets in the order of date.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

tweets : text (text) , createdate (time) , id (number)


Question: Find the name of each user and number of tweets tweeted by each of them.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , uid (number) | tweets : uid (number) , id (number)


Question: Find the name and partition id for users who tweeted less than twice.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , partitionid (number) , uid (number) | tweets : uid (number) , id (number)


Question: Find the name of the user who tweeted more than once, and number of tweets tweeted by them.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : name (text) , uid (number) | tweets : uid (number) , id (number)


Question: Find the average number of followers for the users who do not have any tweet.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : followers (number) , uid (number) | tweets : uid (number) , id (number)


Question: Find the average number of followers for the users who had some tweets.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : followers (number) , uid (number) | tweets : uid (number) , id (number)


Question: Find the maximum and total number of followers of all users.

follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)

user_profiles : followers (number) , uid (number)


Question: Find the names of all the catalog entries.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , catalog_entry_id (number)


Question: What are all the catalog entry names?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , catalog_entry_id (number)


Question: Find the list of attribute data types possessed by more than 3 attribute definitions.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

attribute_definitions : attribute_data_type (text) , attribute_id (number)


Question: What are the attribute data types with more than 3 attribute definitions?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

attribute_definitions : attribute_data_type (text) , attribute_id (number)


Question: What is the attribute data type of the attribute with name "Green"?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

attribute_definitions : attribute_data_type (text) , attribute_name (text) , attribute_id (number)


Question: Find the attribute data type for the attribute named "Green".

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

attribute_definitions : attribute_data_type (text) , attribute_name (text) , attribute_id (number)


Question: Find the name and level of catalog structure with level between 5 and 10.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_structure : catalog_level_name (text) , catalog_level_number (number)


Question: What are the name and level of catalog structure with level number between 5 and 10

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_structure : catalog_level_name (text) , catalog_level_number (number)


Question: Find all the catalog publishers whose name contains "Murray"

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalogs : catalog_publisher (text) , catalog_id (number)


Question: Which catalog publishers have substring "Murray" in their names?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalogs : catalog_publisher (text) , catalog_id (number)


Question: Which catalog publisher has published the most catalogs?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalogs : catalog_publisher (text) , catalog_id (number)


Question: Find the catalog publisher that has the most catalogs.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalogs : catalog_publisher (text) , catalog_id (number)


Question: Find the names and publication dates of all catalogs that have catalog level number greater than 5.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalogs : catalog_name (text) , date_of_publication (time) , catalog_id (number) | catalog_structure : catalog_id (number) , catalog_level_number (number)


Question: What are the name and publication date of the catalogs with catalog level number above 5?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalogs : catalog_name (text) , date_of_publication (time) , catalog_id (number) | catalog_structure : catalog_id (number) , catalog_level_number (number)


Question: What are the entry names of catalog with the attribute possessed by most entries.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , catalog_entry_id (number) | catalog_contents_additional_attributes : catalog_entry_id (number) , attribute_value (text)


Question: Find the entry names of the catalog with the attribute that have the most entries.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , catalog_entry_id (number) | catalog_contents_additional_attributes : catalog_entry_id (number) , attribute_value (text)


Question: What is the entry name of the most expensive catalog (in USD)?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , price_in_dollars (number) , catalog_entry_id (number)


Question: Find the entry name of the catalog with the highest price (in USD).

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , price_in_dollars (number) , catalog_entry_id (number)


Question: What is the level name of the cheapest catalog (in USD)?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_structure : catalog_level_name (text) , catalog_level_number (number) | catalog_contents : catalog_level_number (number) , price_in_dollars (number) , catalog_entry_id (number)


Question: Find the level name of the catalog with the lowest price (in USD).

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_structure : catalog_level_name (text) , catalog_level_number (number) | catalog_contents : catalog_level_number (number) , price_in_dollars (number) , catalog_entry_id (number)


Question: What are the average and minimum price (in Euro) of all products?

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : price_in_euros (number) , catalog_entry_id (number)


Question: Give me the average and minimum price (in Euro) of the products.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : price_in_euros (number) , catalog_entry_id (number)


Question: What is the product with the highest height? Give me the catalog entry name.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , height (text) , catalog_entry_id (number)


Question: Which catalog content has the highest height? Give me the catalog entry name.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , height (text) , catalog_entry_id (number)


Question: Find the name of the product that has the smallest capacity.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , capacity (text) , catalog_entry_id (number)


Question: Which catalog content has the smallest capacity? Return the catalog entry name.

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , capacity (text) , catalog_entry_id (number)


Question: Find the names of all the products whose stock number starts with "2".

attribute_definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | catalog_structure : catalog_level_number (number) , catalog_id (number) , catalog_level_name (text) | catalog_contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | catalog_contents_additional_attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)

catalog_contents : catalog_entry_name (text) , product_stock_number (text) , catalog_entry_id (number)