# Database Sampling

**URL:** <https://forum.knime.com/t/database-sampling/16026>\
**Category:** KCH Workflows\
**Created:** [June 28, 2019, 4:12am UTC](https://forum.knime.com/t/database-sampling/16026 "2019-06-28T04:12:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hub](https://forum-cdn.knime.com/user_avatar/forum.knime.com/hub/32/5438_2.png) [@Hub](https://forum.knime.com/u/Hub)\
**Post date:** [June 28, 2019, 4:12am UTC](https://forum.knime.com/t/database-sampling/16026/1 "2019-06-28T04:12:29Z")

</div>

This workflow creates an SQL statement that allows you to extract a sample of data from a database. The node also supports stratified sampling, which is the preferred way to sample from populations with varying subpopulation sizes.

* * *
This is a companion discussion topic for the original entry at [https://kni.me/w/eLZ2Dfx2OYQG5rPB](https://kni.me/w/eLZ2Dfx2OYQG5rPB)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:34pm UTC](https://forum.knime.com/t/database-sampling/16026/2 "2023-06-23T20:34:40Z")

</div>


