bind_expr_udf.sql 186 B

1234567
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. USE plato;
  4. $percent = Math::Ceil(0.2);
  5. SELECT * FROM Input TABLESAMPLE BERNOULLI(Math::Ceil(100 * $percent)) ORDER BY key; -- 100% sample