thai_instruction
stringlengths
8
429
eng_instruction
stringlengths
16
503
table
stringlengths
11
2.09k
sql
stringlengths
9
2.37k
pandas
stringlengths
1
635
real_table
stringclasses
2 values
ประชากรเป็นเท่าใด โดยที่พื้นที่ (ตร.ไมล์) คือพื้นที่ (ตร.ไมล์)?
what is the population where the area (sq. mi.) is area (sq. mi.)?
df = pd.DataFrame(columns=['population'])
null
ERROR - Invalid Question
general
ค่าผ่านทางสำหรับยานพาหนะขนาดเล็กที่พลาซ่าซึ่งค่าผ่านทางสำหรับยานพาหนะหนัก 2 เพลาอยู่ที่ 87.00 ริงกิต?
What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?
df = pd.DataFrame(columns=['light_vehicle', 'heavy_vehicle__2_axles_'])
null
df[df['heavy_vehicle__2_axles_'] == 'R87.00']['light_vehicle']
general
พลาซ่าที่เรียกเก็บค่าผ่านทางสำหรับรถหนัก 2 เพลาชื่ออะไร 87.00 r.
What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00?
df = pd.DataFrame(columns=['name', 'heavy_vehicle__2_axles_'])
null
df[df['heavy_vehicle__2_axles_'] == 'R87.00']['name']
general
รถหนัก 3/4 เพลา ที่ด่านเก็บค่าผ่านทาง Verkeerdevlei คิดค่าผ่านทางเท่าไร?
What is the toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza?
df = pd.DataFrame(columns=['heavy_vehicle__3_4_axles_', 'name'])
null
df[df['name'] == 'Verkeerdevlei Toll Plaza']['heavy_vehicle__3_4_axles_']
general
ด่านเก็บค่าผ่านทางม้าหมุน อยู่ที่ไหน?
What is the location of the Carousel toll plaza?
df = pd.DataFrame(columns=['location', 'name'])
null
df[df['name'] == 'Carousel Toll Plaza']['location']
general
ค่าผ่านทางสำหรับยานพาหนะขนาดเล็กที่พลาซ่าระหว่างเบลา เบลาและโมดิมอลล์คือเท่าไหร่?
What is the toll for light vehicles at the plaza between bela bela and modimolle?
df = pd.DataFrame(columns=['light_vehicle', 'location'])
null
df[df['location'] == 'between Bela Bela and Modimolle']['light_vehicle']
general
ลานที่บอกรถใหญ่ 2 เพลาชื่ออะไรครับ 20.50 บาท
What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50?
df = pd.DataFrame(columns=['name', 'heavy_vehicle__2_axles_'])
null
df[df['heavy_vehicle__2_axles_'] == 'R20.50']['name']
general
ความโน้มเอียงเมื่อชื่อ alt คือ OPS-1584 คืออะไร?
What is the inclination when the alt name is OPS-1584?
df = pd.DataFrame(columns=['inclination', 'alt_name'])
null
df[df['alt_name'] == 'OPS-1584']['inclination']
general
จุดสูงสุดของ samos f3-3 คือเท่าไร?
What is the maximum apogee for samos f3-3?
df = pd.DataFrame(columns=['apogee__km_', 'name'])
null
df[df['name'] == 'SAMOS F3-3']['apogee__km_'].max()
general
ขอบเขตสูงสุดในวันที่ 1969-01-09 คือเท่าใด
What was the maximum perigee on 1969-01-09?
df = pd.DataFrame(columns=['perigee__km_', 'decay_date'])
null
df[df['decay_date'] == '1969-01-09']['perigee__km_'].max()
general
1964-011a มีชื่อสำรองกี่ชื่อ
How many alt names does 1964-011a have?
df = pd.DataFrame(columns=['alt_name', 'id'])
null
df[df['id'] == '1964-011A']['alt_name'].count()
general
ใครเล่น SS เมื่อ Paul Konerko เล่นเบสที่ 1?
Who played SS when paul konerko played 1st base?
df = pd.DataFrame(columns=['shortstop', 'first_baseman'])
null
df[df['first_baseman'] == 'Paul Konerko']['shortstop']
general
ใครเล่นเบสที่ 2 เมื่อ Nomar garciaparra อยู่ที่เบสที่ 1?
Who played 2nd base when nomar garciaparra was at 1st base?
df = pd.DataFrame(columns=['second_baseman', 'first_baseman'])
null
df[df['first_baseman'] == 'Nomar Garciaparra']['second_baseman']
general
RF คือใครเมื่อ SP เป็น Vicente Padilla?
Who was the RF when the SP was vicente padilla?
df = pd.DataFrame(columns=['rightfielder', 'starting_pitcher'])
null
df[df['starting_pitcher'] == 'Vicente Padilla']['rightfielder']
general
ใครคือ SS เมื่อจิม เลอเฟบฟร์อยู่อันดับ 2 วิลลี่ เดวิสที่ CF และดอน ดรายส์เดลเป็น SP
Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP.
df = pd.DataFrame(columns=['shortstop', 'starting_pitcher', 'second_baseman', 'centerfielder'])
null
df[(df['second_baseman'] == 'Jim Lefebvre') & (df['centerfielder'] == 'Willie Davis') & (df['starting_pitcher'] == 'Don Drysdale')]['shortstop']
general
ใครคือผู้ทำประตูสูงสุด โดยที่แฟนคือ 41?
Who is the top scorer where gf is 41?
df = pd.DataFrame(columns=['top_scorer', 'gf'])
null
df[df['gf'] == 41]['top_scorer']
general
ฤดูกาล 2548-06 ยิงได้กี่ประตู?
How many goals were scored in the 2005-06 season?
df = pd.DataFrame(columns=['goals', 'season'])
null
df[df['season'] == '2005-06']['goals']
general
มีกี่ฤดูกาลที่มีอันดับ 16?
How many seasons had a rank of 16?
df = pd.DataFrame(columns=['season', 'rank'])
null
df[df['rank'] == 16]['season'].count()
general
ผู้จัดการทีมคนไหนอายุ 16 ปี?
Who is the manager whose rank is 16?
df = pd.DataFrame(columns=['manager', 'rank'])
null
df[df['rank'] == 16]['manager']
general
ร็อบ แมคโดนัลด์ ผู้จัดการทีมอยู่อันดับไหน?
What is the rank of manager Rob Mcdonald?
df = pd.DataFrame(columns=['rank', 'manager'])
null
df[df['manager'] == 'Rob McDonald']['rank'].count()
general
หมายเลขลำดับของเพลงที่ Rickie Lee Jones ร้องคือหมายเลขใด
What's the order number of the song originally performed by Rickie Lee Jones?
df = pd.DataFrame(columns=['order__number', 'original_artist'])
null
df[df['original_artist'] == 'Rickie Lee Jones']['order__number']
general
ผลของท็อป 3 ตอนที่เป็นอย่างไร?
What was the result of the Top 3 episode?
df = pd.DataFrame(columns=['result', 'episode'])
null
df[df['episode'] == 'Top 3']['result']
general
เพลงที่ Anna Nalick ร้องครั้งแรกมีทั้งหมดกี่เพลง?
What's the total number of songs originally performed by Anna Nalick?
df = pd.DataFrame(columns=['song_choice', 'original_artist'])
null
df[df['original_artist'] == 'Anna Nalick']['song_choice'].count()
general
เพลงใดที่ Rickie Lee Jones ร้องในตอนแรก
Which one of the songs was originally performed by Rickie Lee Jones?
df = pd.DataFrame(columns=['song_choice', 'original_artist'])
null
df[df['original_artist'] == 'Rickie Lee Jones']['song_choice']
general
ศิลปินต้นฉบับของเพลงที่แสดงใน 3 อันดับแรกคือเพลงอะไร
What's the original artist of the song performed in the top 3 episode?
df = pd.DataFrame(columns=['original_artist', 'episode'])
null
df[df['episode'] == 'Top 3']['original_artist']
general
จำนวนที่นั่งสำหรับการเลือกตั้งในปี 2517 คือเท่าใด
What is the # of seats one for the election in 1974?
df = pd.DataFrame(columns=['_number_of_seats_won', 'election'])
null
df[df['election'] == 1974]['_number_of_seats_won']
general
จำนวนโหวตทั้งหมดกี่ครั้ง 2582322?
How many times was the # of total votes 2582322?
df = pd.DataFrame(columns=['_number_of_seats_won', '_number_of_total_votes'])
null
df[df['_number_of_total_votes'] == 2582322]['_number_of_seats_won'].count()
general
การเลือกตั้งคือปีไหนที่จำนวนที่นั่งได้ 65 ที่นั่ง?
What year was the election when the # of seats won was 65?
df = pd.DataFrame(columns=['election', '_number_of_seats_won'])
null
df[df['_number_of_seats_won'] == 65]['election']
general
ปีการเลือกตั้งเมื่อจำนวนผู้สมัครที่ได้รับการเสนอชื่อมี 262 คน คือปีใด?
What is the election year when the # of candidates nominated was 262?
df = pd.DataFrame(columns=['election', '_number_of_candidates_nominated'])
null
df[df['_number_of_candidates_nominated'] == 262]['election'].count()
general
คะแนนต่ำสุด # ของทั้งหมดคือข้อใด
What was the lowest # of total votes?
df = pd.DataFrame(columns=['_number_of_total_votes'])
null
df['_number_of_total_votes'].min()
general
คำที่แข็งแกร่งประกอบเมื่อสะกดภาษาอังกฤษคือ jonadab คืออะไร?
What is the strongs words compounded when the english spelling is jonadab?
df = pd.DataFrame(columns=['strongs_words_compounded', 'english_spelling'])
null
df[df['english_spelling'] == 'Jonadab']['strongs_words_compounded']
general
คำที่หนักแน่นประกอบขึ้นเมื่อการทับศัพท์ที่เข้มแข็งคือ yowyariyb คืออะไร?
What is the strong words compounded when the strongs transliteration is yowyariyb?
df = pd.DataFrame(columns=['strongs_words_compounded', 'strongs_transliteration'])
null
df[df['strongs_transliteration'] == 'Yowyariyb']['strongs_words_compounded']
general