当前位置:数据库 > SQLite >>

数据库sqlite3 里:用函数sqlite3_get_table来获取数据是否 可以 排序么(order by cTime asc)

还有我的 cTime是 char 型的 时间 像 9-3 00:05:05 这样的 可以排序出来么?
追问:result = sqlite3_get_table( mydb, "select * from tbl_call order by tbl_call.cTime asc", &dbResult, &nRow, &nColumn, &errmsg );
 
哥哥,你看这个第二个参数不就是sql语句么?
我知道,得到的是 一维数组。
嗯。我是想问:  “ by tbl_call.cTime asc ” 和“ by tbl_call.cTime desc”   获取的一维数组是一样的还是不一样的?
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,