MySQL学习 - 排序与分页
排序 ORDER BY 使用 ORDER BY 语句,写在 WHERE 句子之后,默认升序排序 mysql> SELECT last_name,salary FROM employees ORDER BY salary; +-------------+----------+ | last_name | salary | +-------------+----------+ | Ols
排序 ORDER BY 使用 ORDER BY 语句,写在 WHERE 句子之后,默认升序排序 mysql> SELECT last_name,salary FROM employees ORDER BY salary; +-------------+----------+ | last_name | salary | +-------------+----------+ | Ols
简单的排序和查找 冒泡排序 #include <stdio.h> /** O(n^2) */ void sort(int arr[],int len); void sort2(int arr[],int len); void printArr(int arr[],int len); int main(){ int arr[]={51,61,23,65,85,01,36,45,9