db_name stringclasses 146
values | prompt stringlengths 310 4.81k |
|---|---|
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
customers_card_transactions | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Accounts ( account_id, customer_id, account_name, other_account_details )
# Customers ( customer_id, customer_first_name, customer_last_name, customer_address, customer_phone, customer_email, other_customer_detai... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# How many tracks do we have?
#
... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Count the number of tracks.
#
... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the name and location for ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names and location... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show names and seatings, ordere... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names and seatings... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What is the name, location and ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Return the name, location, and ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What is the minimum, maximum, a... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Return the minimum, maximum, an... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the name, location, open y... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names, locations, ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are distinct locations whe... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Give the different locations of... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# How many races are there?
#
##... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Count the number of races.
#
#... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the distinct classes t... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Return the different classes of... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show name, class, and date for ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names, classes, an... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the race class and number ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the different classes ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What is the race class with mos... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Give the class of races that is... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# List the race class with at lea... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the classes of races t... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names for tracks w... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Give the names of tracks that d... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show all track names that have ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Return the names of tracks that... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show year where a track with a ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the years of opening f... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the name of track and the ... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names of different... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the name of track with mos... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What is the name of the track t... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the name and date for each... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names and dates of... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Show the name and location of t... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the names and location... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# Find the locations where have b... |
race_track | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# race ( Race_ID, Name, Class, Date, Track_ID )
# track ( Track_ID, Name, Location, Seating, Year_Opened )
#
# race.Track_ID can be joined with track.Track_ID
#
### Question:
#
# What are the locations that hav... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
coffee_shop | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# shop ( Shop_ID, Address, Num_of_staff, Score, Open_Year )
# member ( Member_ID, Name, Membership_card, Age, Time_of_purchase, Level_of_membership, Address )
# happy_hour ( HH_ID, Shop_ID, Month, Num_of_shaff_in_c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.