https://github.com/secretflow/scql
SCQL (Secure Collaborative Query Language) is a system that allows multiple distrusting parties to run joint analysis without revealing their private data.
https://github.com/secretflow/scql
collaborative-analytics mpc-sql privacy-enhancing-technology scql secure-collaborative-query secure-querying sf-sql
Last synced: 3 months ago
JSON representation
SCQL (Secure Collaborative Query Language) is a system that allows multiple distrusting parties to run joint analysis without revealing their private data.
- Host: GitHub
- URL: https://github.com/secretflow/scql
- Owner: secretflow
- License: apache-2.0
- Created: 2023-02-08T07:40:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-17T03:34:50.000Z (3 months ago)
- Last Synced: 2026-03-17T14:42:34.766Z (3 months ago)
- Topics: collaborative-analytics, mpc-sql, privacy-enhancing-technology, scql, secure-collaborative-query, secure-querying, sf-sql
- Language: Go
- Homepage: https://www.secretflow.org.cn/docs/scql/en/
- Size: 32.2 MB
- Stars: 177
- Watchers: 4
- Forks: 72
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# SCQL
[](https://dl.circleci.com/status-badge/redirect/gh/secretflow/scql/tree/main)
Secure Collaborative Query Language (SCQL) is a system that translates SQL statements into Secure Multiparty Computation (SMC) primitives and executes them on a federation of database systems.
> **Note**: If you are looking for SCQL 1.0, please check the [1.x branch](https://github.com/secretflow/scql/tree/release/1.x).

## Documentation
- [Documentation in English](https://www.secretflow.org.cn/en/docs/scql)
- [中文文档](https://www.secretflow.org.cn/zh-CN/docs/scql/)
## Docker Image Release
- Official release docker image: [secretflow/scql](https://hub.docker.com/r/secretflow/scql/tags)
- We also have images at Alibaba Cloud: secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/scql:[tag]
## Contribution Guidelines
If you would like to contribute to SCQL, please see the [Contribution guidelines](CONTRIBUTING.md).
This documentation also contains instructions for [build and testing](CONTRIBUTING.md#build)
## Hardware Requirements
The following requirements only apply to SCQLEngine.
- CPU
- x86_64: minimum required AVX instruction set. For FourQ based PSI, the AVX2 instruction set is required.
## Disclaimer
Non-release versions of SCQL are prohibited to use in any production environment due to possible bugs, glitches, lack of functionality, security issues or other problems.
## Citing SCQL
If you think SCQL is helpful for your research or development, please consider citing our [paper](https://www.vldb.org/pvldb/vol17/p3987-fang.pdf):
```text
@article{scql,
author = {Wenjing Fang and
Shunde Cao and
Guojin Hua and
Junming Ma and
Yongqiang Yu and
Qunshan Huang and
Jun Feng and
Jin Tan and
Xiaopeng Zan and
Pu Duan and
Yang Yang and
Li Wang and
Ke Zhang and
Lei Wang},
title = {SecretFlow-SCQL: {A} Secure Collaborative Query pLatform},
journal = {Proc. VLDB Endow.},
volume = {17},
number = {12},
pages = {3987--4000},
year = {2024},
url = {https://www.vldb.org/pvldb/vol17/p3987-fang.pdf},
}
```
## Acknowledgments
- Thanks [TiDB](https://github.com/pingcap/tidb) for providing a powerful SQL parser and planner.