The .top() and .bottom() functions perform the same function, they are just opposite of each other. The functions are mostly used as the last function before the .select() function but this is not required.

Both functions require one parameter. The parameter can either be a whole number or a decimal. When a whole number is specified then the number represent the x amount of top/bottom rows to return. When a decimal is specified then the decimal represents the percent of top/bottom of rows to return.

top(number)
bottom(number)
top(amount: number): jinqJs;
bottom(amount: number): jinqJs;

Top X Number Of Rows

Bottom Percent Of Rows