I am looking out for a way to select a given percentage of data from a table using calcite query, for example lets say we have a table name sample which has around 800 records and I want to select only 30% from the total data present in sample i.e i n result we get only 240 records from 800 records.
Adding to it if we can also use any criteria with the above situation will be an add on.
Thanks in advance.