id stringlengths 36 36 | question stringlengths 18 174 | db_id stringclasses 20
values | query stringlengths 20 361 | query_toks stringlengths 33 509 | query_toks_no_value stringlengths 33 607 | question_toks stringlengths 39 264 | sql stringlengths 232 983 | audio audioduration (s) 1.24 12.8 | normalized_question_for_tts stringlengths 22 182 | audio_duration stringlengths 3 5 | audio_transcript stringlengths 23 175 |
|---|---|---|---|---|---|---|---|---|---|---|---|
6cc5eaf9-ef5c-43ce-89e8-4030e62a50b8 | Find the id and cell phone of the professionals who operate two or more types of treatments. | dog_kennels | SELECT T1.professional_id , T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING count(*) >= 2 | ["SELECT", "T1.professional_id", ",", "T1.cell_number", "FROM", "Professionals", "AS", "T1", "JOIN", "Treatments", "AS", "T2", "ON", "T1.professional_id", "=", "T2.professional_id", "GROUP", "BY", "T1.professional_id", "HAVING", "count", "(", "*", ")", ">", "=", "2"] | ["select", "t1", ".", "professional_id", ",", "t1", ".", "cell_number", "from", "professionals", "as", "t1", "join", "treatments", "as", "t2", "on", "t1", ".", "professional_id", "=", "t2", ".", "professional_id", "group", "by", "t1", ".", "professional_id", "having", "count", "(", "*", ")", ">", "=", "value"] | ["Find", "the", "id", "and", "cell", "phone", "of", "the", "professionals", "who", "operate", "two", "or", "more", "types", "of", "treatments", "."] | {"from": {"table_units": [["table_unit", 6], ["table_unit", 7]], "conds": [[false, 2, [0, [0, 33, false], null], [0, 46, false], null]]}, "select": [false, [[0, [0, [0, 33, false], null]], [0, [0, [0, 43, false], null]]]], "where": [], "groupBy": [[0, 33, false]], "having": [[false, 5, [0, [3, 0, false], null], 2.0, nu... | Find the identification and cell phone of the professionals who operate two or more types of treatments. | 6.3 | Find the identification and cell phone of the professionals who operate two or more types of treatments. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.