QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    What is the name of the coin with the highest price? the highest price refers to max(price)

    【Evidence】
    the highest price refers to max(price)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.name FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T2.price = ( SELECT MAX(price) FROM historical )
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    Please name the coin that ranked first among the coins traded on April 29, 2013. ranked first refers to cmc_rank = 1; on April 29, 2013 refers to date = '2013-04-29'

    【Evidence】
    ranked first refers to cmc_rank = 1; on April 29, 2013 refers to date = '2013-04-29'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.name FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T2.date = '2013-04-29' AND T2.cmc_rank = 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    When is the best time to purchase Bitcoin? lowest price refers to low; best time refers to date with the low;

    【Evidence】
    lowest price refers to low; best time refers to date with the low;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.date FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T1.name = 'Bitcoin' ORDER BY T2.low LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    What is the name of the coin that creates the most total value in the past 24 hours? creates the most total value in the past 24 hours refers to max(volume_24h)

    【Evidence】
    creates the most total value in the past 24 hours refers to max(volume_24h)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.name FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T2.volume_24h = ( SELECT MAX(volume_24h) FROM historical )
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    Name the coins that were not opened on May 2013. not opened refers to open IS NULL; on May 2013 refers to year(date) = 2019 AND month(date) = 5

    【Evidence】
    not opened refers to open IS NULL; on May 2013 refers to year(date) = 2019 AND month(date) = 5

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.name FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE STRFTIME('%Y-%m', T2.date) = '2013-05' AND T2.open IS NULL
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    When is the highest closed price of CHNCoin? the highest closed price refers to max(close)

    【Evidence】
    the highest closed price refers to max(close)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.date FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T1.name = 'CHNCoin' ORDER BY T2.close DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    When did Peercoin rank fifth? when refers to date; rank fifth refers to cmc_rank = 5

    【Evidence】
    when refers to date; rank fifth refers to cmc_rank = 5

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.date FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T1.name = 'Peercoin' AND T2.cmc_rank = 5
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    When is Devcoin most valuable in the market? when refers to date; most valuable refers to max(market_cap)

    【Evidence】
    when refers to date; most valuable refers to max(market_cap)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.date FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T1.name = 'Devcoin' ORDER BY T2.market_cap DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 coinmarketcap
【Schema】
# Table: coins
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(name:TEXT, Examples: [Bitcoin, Litecoin, Namecoin]),
(slug:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(symbol:TEXT, Examples: [BTC, LTC, NMC]),
(status:TEXT, Examples: [active, untracked, inactive]),
(category:TEXT, Examples: [coin, token]),
(description:TEXT),
(subreddit:TEXT, Examples: [bitcoin, litecoin, namecoin]),
(notice:TEXT),
(tags:TEXT),
(tag_names:TEXT),
(website:TEXT),
(platform_id:INTEGER, Examples: [1027, 1765, 1376]),
(date_added:TEXT, Examples: [2013-04-28T00:00:00.000Z]),
(date_launched:TEXT, Examples: [2018-01-16T00:00:00.000Z])
]
# Table: historical
[
(date:DATE, Examples: [2013-04-28]),
(coin_id:INTEGER, Examples: [1, 2, 5]),
(cmc_rank:INTEGER, Examples: [1, 2, 3]),
(market_cap:REAL, Examples: [1488566971.9558687, 74637021.56790735, 7250186.647688276]),
(price:REAL, Examples: [134.210021972656, 4.34840488433838, 0.386524856090546]),
(open:REAL, Examples: [134.44400024414062, 4.366759777069092, 0.3871999979019165]),
(high:REAL, Examples: [147.48800659179688, 4.573599815368652, 0.4247649908065796]),
(low:REAL, Examples: [134.0, 4.225639820098877, 0.37790799140930176]),
(close:REAL, Examples: [144.5399932861328, 4.383900165557861, 0.4088610112667084]),
(time_high:TEXT, Examples: [13:15:01, 13:15:03, 12:45:02]),
(time_low:TEXT, Examples: [05:20:01, 19:25:02, 04:05:04]),
(volume_24h:REAL, Examples: [0.0, 46862728.0, 31112234.0]),
(percent_change_1h:REAL, Examples: [0.639231, 0.799273, -0.934763]),
(percent_change_24h:REAL, Examples: [7.63553, 0.920718, 18.558]),
(percent_change_7d:REAL, Examples: [-13.809, -16.7201, 1.64395]),
(circulating_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(total_supply:REAL, Examples: [11091325.0, 17164230.0, 18757362.0]),
(max_supply:REAL, Examples: [21000000.0, 84000000.0, 42000000.0]),
(num_market_pairs:INTEGER, Examples: [7050, 5146, 382])
]

    【Question】
    List the names of the top five coins traded on January 1, 2014. the top five coins refers to cmc_rank< = 5; on January 1, 2014 refers to date = '2014-01-01'

    【Evidence】
    the top five coins refers to cmc_rank< = 5; on January 1, 2014 refers to date = '2014-01-01'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.name FROM coins AS T1 INNER JOIN historical AS T2 ON T1.id = T2.coin_id WHERE T2.date = '2014-01-01' AND T2.cmc_rank <= 5