Download sql/select_spaces.sql from KoRiF/MinCPionS: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/KoRiF/MinCPionS/resolve/main/sql/select_spaces.sql
- Command line
-
hf download hf://spaces/KoRiF/MinCPionS/sql/select_spaces.sql
-
curl -L -o select_spaces.sql https://huggingface.co/spaces/KoRiF/MinCPionS/resolve/main/sql/select_spaces.sql
390 Bytes
| SELECT | |
| s.space_id, | |
| s.title, | |
| s.description, | |
| s.url as space_url, | |
| s.tags, | |
| e.endpoint_url as schema_url, | |
| COUNT(t.tool_name) as tool_count | |
| FROM spaces s | |
| JOIN endpoints e ON s.space_id = e.space_id AND e.endpoint_type = 'schema' | |
| JOIN tools t ON s.space_id = t.space_id | |
| GROUP BY s.space_id, s.title, s.description, s.url, s.tags, e.endpoint_url | |
| HAVING tool_count > 0; |