bind_expr_subquery.sql 190 B

1234567
  1. /* postgres can not */
  2. USE plato;
  3. $rc = (select count(*) from Input);
  4. $sample_size = 10;
  5. select * from Input tablesample bernoulli(MIN_OF($sample_size * 100.0 / $rc, 100.0)) order by key;